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,fe1dc0666af8f6a6 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Creating mixed language static libraries with gpr files? Date: Wed, 04 Mar 2009 11:05:58 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1236182758 32431 192.74.137.71 (4 Mar 2009 16:05:58 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 4 Mar 2009 16:05:58 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:1Z1wbKawOY1EyTpUqoX9Tc4S2u0= Xref: g2news1.google.com comp.lang.ada:3936 Date: 2009-03-04T11:05:58-05:00 List-Id: Markus Schoepflin writes: > I tried your suggestion and I also added 'for languages use ("Ada", > "C");', as the gcc documentation mentions it, but the C sources are > simply ignored. gnatmake can compile the Ada part of a mixed-language program, and link in the C part, but you have to use some other method to compile the C -- usually a 'make' file. gprbuild compile both Ada and C (and other languages). See docs for more details. gprmake is obsolete. - Bob