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,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!noris.net!nntp.ilk.net!not-for-mail From: Markus Schoepflin Newsgroups: comp.lang.ada Subject: Creating mixed language static libraries with gpr files? Date: Tue, 03 Mar 2009 10:58:52 +0100 Organization: Customer of ILK Internet GmbH, Karlsruhe, Germany Message-ID: NNTP-Posting-Host: csdc.comsoft.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nntp.ilk.net 1236074332 19624 212.86.205.70 (3 Mar 2009 09:58:52 GMT) X-Complaints-To: usenet@ilk.net NNTP-Posting-Date: Tue, 3 Mar 2009 09:58:52 +0000 (UTC) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) Xref: g2news1.google.com comp.lang.ada:3887 Date: 2009-03-03T10:58:52+01:00 List-Id: Using gcc 4.3.3, I'm trying to create a static library that contains both object files created from Ada and C. The gpr file to create the library (only using the Ada parts) looks like this: ---%<--- project foo is for source_dirs use ("src"); for object_dir use "obj"; for library_name use "foo"; for library_dir use "./lib"; for library_kind use "static"; end foo; --->%--- Now I have a few object files built from C sources. Is it possibly to use the gnat project file to create the static library including those object files? Markus