From: "RasikaSrinivasan@gmail.com" <rasikasrinivasan@gmail.com>
Subject: Re: gps output directory mystery
Date: Wed, 27 Jan 2010 18:49:16 -0800 (PST)
Date: 2010-01-27T18:49:16-08:00 [thread overview]
Message-ID: <df56f77f-661c-4016-be0b-5ec624b6224a@m4g2000vbn.googlegroups.com> (raw)
In-Reply-To: GW18n.107399$uV7.55661@newsfe13.ams2
Thank you so much. Cheers, srini
On Jan 27, 4:07 pm, Per Sandberg <per.sandb...@bredband.net> 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:
> default use the project setting
> debug force use of -O0 -g
> optimize force use of -O2 -gnatn
>
> For a deeper discussion see:
> GPS Users guide:
> 9.3 The Build Mode
> 16.5.20.3 Defining new Modes
>
> /Per
>
> 2010-01-27 21:36, RasikaSriniva...@gmail.com skrev:
>
>
>
> > I have a Project file that looks like:
>
> > .....
>
> > for Source_Dirs use ("tests"
> > ,"tests/edge"
> > ,"tests/hist");
> > for Object_Dir use ".objs";
> > 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=debug --subdirs=opt -cargs -O2 -gnatn
>
> > ------------
>
> > I am not sure why the gnatmake contains a "--subdirs=opt" switch.
> > Anyone can throw any light on how this command line is constructed?
>
> > Cheers, srini
prev parent reply other threads:[~2010-01-28 2:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-27 20:36 gps output directory mystery RasikaSrinivasan@gmail.com
2010-01-27 21:07 ` Per Sandberg
2010-01-28 2:49 ` RasikaSrinivasan@gmail.com [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox