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!postnews.google.com!h48g2000cwc.googlegroups.com!not-for-mail From: "Howard" Newsgroups: comp.lang.ada Subject: Re: Porting Ada code to Linux Date: 31 Oct 2006 09:38:14 -0800 Organization: http://groups.google.com Message-ID: <1162316294.922457.113520@h48g2000cwc.googlegroups.com> References: <1162304266.131951.152900@e64g2000cwd.googlegroups.com> NNTP-Posting-Host: 131.15.48.59 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1162316300 15924 127.0.0.1 (31 Oct 2006 17:38:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 31 Oct 2006 17:38:20 +0000 (UTC) In-Reply-To: <1162304266.131951.152900@e64g2000cwd.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: h48g2000cwc.googlegroups.com; posting-host=131.15.48.59; posting-account=ofu7TQ0AAAC89QyAYO0L9LwmRxepRiHc Xref: g2news2.google.com comp.lang.ada:7295 Date: 2006-10-31T09:38:14-08:00 List-Id: I work with Bill, and I wanted to provide a more detailed expansion of our situation; We are porting from a Windows-95 "legacy" system to a new Linux one. The code we are re-writing is Visual Basic, and we are translating it into C++. But, the VB code had a dependancy on a considerable amount of Ada 95 code that the VB code interfaced with via DLLs. We need to port this Ada code over, also. We have decided, given that there is between 45 and 55 thousand lines of Ada code, with its attendant complexity, to simply use the Ada code as is without re-writing it into C++. This Ada code depends on some files, also written in Ada, that then have some pragmas to a Visual C++ library, "winbase.h"... The Ada libs are; Win32 Win32-Utils Win32-Winbase (pragmas to VCPP winbase.h lib) Win32-Windef Win32-Winnt Stdarg Stdarg-Impl Stdarg-Inst Stdarg-Machine These are all Ada packages, and these name represent specs, and bodies, so named. So, we are going to have to compile the Ada code, then link it with the new C++ code. We are using the Gnu-G++ compiler linker, and we will need to be able to link in the Ada object files with our C++ files. We have to find a way to replace, or port, the mentioned Ada libs. The "Winbase" dependancy on the Visual C++ files is problematic, at best... So, again, any insight that can be provided would be greatly appreciated. You can write me directly at Howard.Parrish@cisf.af.mil