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: a07f3367d7,c62409bce056c38d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!postnews.google.com!m4g2000vbn.googlegroups.com!not-for-mail From: "RasikaSrinivasan@gmail.com" Newsgroups: comp.lang.ada Subject: Re: gps output directory mystery Date: Wed, 27 Jan 2010 18:49:16 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 98.216.109.119 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1264646956 29088 127.0.0.1 (28 Jan 2010 02:49:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 28 Jan 2010 02:49:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m4g2000vbn.googlegroups.com; posting-host=98.216.109.119; posting-account=mZyFSQoAAABfOmklsh1d8TPbS2LncUKl User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8834 Date: 2010-01-27T18:49:16-08:00 List-Id: Thank you so much. Cheers, srini On Jan 27, 4:07=A0pm, Per Sandberg wrote: > That is because you have selected the build mode optimize > the profile is selected in a combo-box where the mode is selected, among > the possible modes are: > =A0 =A0default =A0 use the project setting > =A0 =A0debug =A0 =A0 force use of -O0 -g > =A0 =A0optimize =A0force use of -O2 -gnatn > > For a deeper discussion see: > =A0 =A0GPS Users guide: > =A0 =A0 =A09.3 The Build Mode > =A0 =A0 =A016.5.20.3 Defining new Modes > > /Per > > 2010-01-27 21:36, RasikaSriniva...@gmail.com skrev: > > > > > I have a Project file that looks like: > > > ..... > > > =A0 =A0 for Source_Dirs use ("tests" > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ,"tests/edge" > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ,"tests/hist"); > > =A0 =A0 for Object_Dir use ".objs"; > > =A0 =A0 for Exec_Dir use "bin"; > > > ..... > > > Under Ubuntu using > > > GPS 4.3.1 (20090114) hosted on i686-pc-linux-gnu > > GNAT GPL 2009 (20090519) > > > for some reason, the executables are built into bin/opt instead of > > just bin. > > > In fact when I say Build All the command line looks like: > > > gnatmake -d -p -P/home/srini/Projects/projectlets/OpenCV/tests.gpr - > > XBUILD=3Ddebug --subdirs=3Dopt -cargs -O2 -gnatn > > > ------------ > > > I am not sure why the gnatmake contains a =A0"--subdirs=3Dopt" switch. > > Anyone can throw any light on how this command line is constructed? > > > Cheers, srini