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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,75a7e6db6d0634b1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-09 19:18:07 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Compiling C and Ada sources together Date: 9 Aug 2001 21:17:55 -0500 Organization: LJK Software Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 997409383 371 192.135.80.34 (10 Aug 2001 02:09:43 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Fri, 10 Aug 2001 02:09:43 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:11734 Date: 2001-08-09T21:17:55-05:00 List-Id: In article , writes: > Hi all, > I've been working on a project where we compile C source files and Ada > sources together to produce a single binary. Most of it is automated at > this point, but for debugging reasons I need to know how to do it by hand. > A long time ago, I saw an article (I thought it was on www.adahome.com) > about how to link together sources from each language, particularly in the > case where the C program makes calls to the ada source (the main program > is in C) so the Interfaces.C functionality is not used. > > Anyone else seen the article, or know how it's done? I'm been perusing > the grant_ug.html without much success. Any approach that does not use Interfaces.C is likely to be specific to a particular compiler and operating system, so you better specify yours before you start getting lots of correct but non-applicable answers.