From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7972cb596f5c5a22 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!bbc!news-peer-lilac.gradwell.net!not-for-mail Date: Wed, 1 Nov 2006 10:14:41 +0000 From: Alex Buell Newsgroups: comp.lang.ada Subject: Re: Porting Ada code to Linux Message-Id: <20061101101441.bdbc8a81.alex.buell@munted.org.uk> References: <1162304266.131951.152900@e64g2000cwd.googlegroups.com> Organization: Advanced Buell Software Engineering X-Newsreader: Sylpheed version 2.2.9 (GTK+ 2.8.19; i686-pc-linux-gnu) X-Face: "wUuhsy:X)M;>-dA\j"&y@*\$91]iX10Iv1WG_oNbGYpo,eqc06O?"VSeRTx]xM\LiITUh01z}<|GF/4Gzz(MAU~;p4AS,%TB69M:vB-9+i'#W7$UQCW&UP#zt{VdLlzEiw8k~jL< Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 82.20.248.134 X-Trace: 1162378805 news.gradwell.net 631 abuell/82.20.248.134:3369 X-Complaints-To: news-abuse@gradwell.net Xref: g2news2.google.com comp.lang.ada:7319 Date: 2006-11-01T10:14:41+00:00 List-Id: On 31 Oct 2006 06:17:46 -0800, I waved a wand and this message magically appears in front of Bill: > We have some code (about 60K lines) that was written for use on the > Win95 platform as a collection of DLLs. We are now in the process of > porting the parent application to Linux and would like to reuse the > Ada code. The legacy code was written using the Aonix ObjectAda > compiler/IDE and references packages like Win32 and Win32.Windef. > > We have been able to move the code over to the Linux side and compile > using the GNU Ada compiler. However, to get this far we also had to > copy the aforementioned "Win" packages over too. Clearly, this seems > like the wrong thing to do, but it did get the compile to work. The > problem is that we are receiving a fair number of linker errors that > seem to point to the file winbase.h. > > So, it seems like there should be a Linux equivalent of Win32, but we > have not been able find it. Can anyone point us to a replacement for > these packages that will make the compiler AND the linker happy? Is > there anything else we should know about in our effort to complete > this port? The problem here is that you have no-one inhouse who knows anything about Linux. Otherwise you would have been told a rewrite would be the best thing to do. It's probably too late now, but can I suggest tasking someone with rewriting the Win32 packages as a emulation layer? You could probably recoup the costs by selling the Win32 emulation libraries to others porting to Unix from Windows... -- http://www.munted.org.uk You've been eating the cat food again, haven't you?