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: a07f3367d7,170b136bef612224 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII X-Received: by 10.180.87.193 with SMTP id ba1mr2919043wib.0.1367665514137; Sat, 04 May 2013 04:05:14 -0700 (PDT) Path: hg5ni66819wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!backlog2.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!nrc-news.nrc.ca!News.Dal.Ca!news.litech.org!news.stack.nl!aioe.org!.POSTED!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Specifying a target in a GPRBuild project file? Date: Fri, 26 Apr 2013 20:52:36 +0200 Organization: Aioe.org NNTP Server Message-ID: <517ACCF4.4030209@obry.net> References: <8f5e2358-05ab-4b0f-82be-b2f2d7438765@googlegroups.com> <51796066.5060906@obry.net> <1jpdzc49i9m1w.12yp9l8whf5lk$.dlg@40tude.net> <517AA6C1.7050508@obry.net> <1hdsodgh31xt9$.1ua65srkn4jrx$.dlg@40tude.net> NNTP-Posting-Host: e9pQt9xGwqLwGprBmEmWow.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2272 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 2013-04-26T20:52:36+02:00 List-Id: Le 26/04/2013 20:32, Dmitry A. Kazakov a �crit : > I use a scenario variable Platform to select the compiler, binder, linker, > archiver, whatever needed. E.g. > > case Platform is > ... > when "x86_vxworks" => > ... > for Gnatlist use "... 586-wrs-vxworks-gnatls"; > ... And here there is zero knowledge about the way the target support the tools, compiler specific options needed, response file support... > I do this: > > gnatmake -Pfoo.gpr -XPlaform=x86_vxworks > > Do I correctly understand that "target" requires a configuration project? > Because I use none. Yes and no. I don't see why you are not using: $ x86-pc-vxworks-gnatmake -Pfoo.gpr which is somewhat equivalent to: $ gprbuild --target=x86-pc-vxworks foo.gpr Pascal. -- Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://v2p.fr.eu.org http://www.obry.net gpg --keyserver keys.gnupg.net --recv-key F949BD3B