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!a5g2000pre.googlegroups.com!not-for-mail From: anhvofrcaus@gmail.com Newsgroups: comp.lang.ada Subject: Re: Creating mixed language static libraries with gpr files? Date: Wed, 4 Mar 2009 08:58:25 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <2205e5a7-5543-4a62-a8a8-9b0676d34d4e@h20g2000yqn.googlegroups.com> NNTP-Posting-Host: 149.32.224.34 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1236185905 26863 127.0.0.1 (4 Mar 2009 16:58:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 4 Mar 2009 16:58:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a5g2000pre.googlegroups.com; posting-host=149.32.224.34; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 3.0.04506.648),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:4912 Date: 2009-03-04T08:58:25-08:00 List-Id: On Mar 4, 12:41=A0am, Vadim Godunko wrote: > 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 u= se > > the gnat project file to create the static library including those obje= ct > > files? > > You must add > > for Languages use ("Ada", "C"); > > and use gprbuild- Hide quoted text - > > - Show quoted text - In the past I have to enable Multi language build, by checking the box, on the General of Preferences for multi language build to work. A. Vo