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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,170b136bef612224 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII X-Received: by 10.180.188.198 with SMTP id gc6mr6044937wic.3.1367329815045; Tue, 30 Apr 2013 06:50:15 -0700 (PDT) Path: hg5ni48960wib.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.13.MISMATCH!feed.xsnews.nl!border-3.ams.xsnews.nl!plix.pl!newsfeed2.plix.pl!news.icm.edu.pl!nf1.ipartners.pl!ipartners.pl!newsfeed.pionier.net.pl!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Specifying a target in a GPRBuild project file? Date: Thu, 25 Apr 2013 21:02:23 +0200 Organization: cbb software GmbH Message-ID: <1jpdzc49i9m1w.12yp9l8whf5lk$.dlg@40tude.net> References: <8f5e2358-05ab-4b0f-82be-b2f2d7438765@googlegroups.com> <51796066.5060906@obry.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: rHWOzyHApalsT5sEUcbvVQ.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Date: 2013-04-25T21:02:23+02:00 List-Id: On Thu, 25 Apr 2013 18:57:10 +0200, Pascal Obry wrote: > Le 25/04/2013 11:01, Yannick Duch�ne (Hibou57) a �crit : >> The `--target` option should only be used with explicit invocations of >> GPRConfig, not with GPRBuild. > > I fully disagree. I'm building many cross tools and always using > gprbuild --target=xyz. This is the way it should work, and if not > probably a bug to report. For this purpose I am using a scenario variable that controls Compiler, Linker etc packages. It also manipulates Source_Dirs because different targets have some source files different (I don't want to use preprocessor). I am interested in a comparison of this approach to --target. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de