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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.86.200 with SMTP id t8mr35650714qal.0.1373463260756; Wed, 10 Jul 2013 06:34:20 -0700 (PDT) X-Received: by 10.49.120.67 with SMTP id la3mr907665qeb.35.1373463260683; Wed, 10 Jul 2013 06:34:20 -0700 (PDT) Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!t19no1057010qam.0!news-out.google.com!f7ni1805qai.0!nntp.google.com!t19no1057006qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 10 Jul 2013 06:34:20 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=178.197.231.135; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 178.197.231.135 References: <062c95f8-445d-49f1-8bd2-76481f146cf7@googlegroups.com> <51DD1B2F.1010105@obry.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <76be6848-d0b9-4f6b-9cd1-72caf33edda5@googlegroups.com> Subject: Re: Q: Multiple GNAT project files and object directories From: gautier_niouzes@hotmail.com Injection-Date: Wed, 10 Jul 2013 13:34:20 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2186 X-Original-Bytes: 2471 Xref: number.nntp.dca.giganews.com comp.lang.ada:182435 Date: 2013-07-10T06:34:20-07:00 List-Id: Le mercredi 10 juillet 2013 14:37:11 UTC+2, Simon Wright a =E9crit=A0: > But it won't rebuild if this project is built with ("-g", "-O0") and the > 'with'ed project is built with ("-O2"), which is the sort of change that > OP was talking about. (By "won't rebuild" I mean, I just tried it and it > didn't). Right - I also just tried. But GNAT GPL 2012 (not 2013) did (I also tried)! Anyway neither behaviour is satisfactory (either recompilation with no sour= ce change, or no recompilation but mix of .o files with very different comp= iler options). Now, the solution with the good old Ada_Include_Path is working perfectly. Is is even easier than the solution with Ada_Project_Path ... An example: http://sf.net/p/azip/code/152/tree/trunk/gwindows/azip_gwindows.gpr _________________________ Gautier's Ada programming http://gautiersblog.blogspot.com/search/label/Ada NB: follow the above link for a valid e-mail address