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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fe1dc0666af8f6a6 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!h20g2000yqn.googlegroups.com!not-for-mail From: Vadim Godunko Newsgroups: comp.lang.ada Subject: Re: Creating mixed language static libraries with gpr files? Date: Wed, 4 Mar 2009 00:41:28 -0800 (PST) Organization: http://groups.google.com Message-ID: <2205e5a7-5543-4a62-a8a8-9b0676d34d4e@h20g2000yqn.googlegroups.com> References: NNTP-Posting-Host: 87.117.37.157 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1236156088 28577 127.0.0.1 (4 Mar 2009 08:41:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 4 Mar 2009 08:41:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h20g2000yqn.googlegroups.com; posting-host=87.117.37.157; posting-account=niG3UgoAAAD7iQ3takWjEn_gw6D9X3ww User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:4892 Date: 2009-03-04T00:41:28-08:00 List-Id: On Mar 3, 12:58=A0pm, Markus Schoepflin wrote: > ---%<--- > project foo is > > =A0 =A0for source_dirs use ("src"); > =A0 =A0for object_dir use "obj"; > > =A0 =A0for library_name use "foo"; > =A0 =A0for library_dir use "./lib"; > =A0 =A0for 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? > You must add for Languages use ("Ada", "C"); and use gprbuild