From: Gautier <gautier.demontmollin@maths.unine.ch>
Subject: Re: Project structure with Gnat
Date: 1999/08/04
Date: 1999-08-04T00:00:00+00:00 [thread overview]
Message-ID: <37A84689.6F88BA3F@maths.unine.ch> (raw)
In-Reply-To: zIVp3.409$9f1.44286@typ12.nn.bcandid.com
> An easy way to do it is to cd to the directory in which the .o and .ali
> files are to reside, and execute gnatmake from there.
> Then.. all one has to do is
> gnatmake <main-unit-name> -I../<source-dir-1> -I../<source-dir-2> .. etc.
> The .o files and the .ali files will be written to the current directory.
> The executable will also be written to the current directory, unless
> you redirect/rename with the -o gnatmake switch.
There is a little problem with that "cd" solution: compile sources
that are precisely in the current directory...
I vote for a gnatmake switch to deflect all new .ali and .o into ONE
directory, without doing "cd" ("cd" complicates the command from
an IDE). Turbo / Borland Pascal and surely Delphi does it and it is
VERY comfortable! The "gnatmake -i" us already a plus (avoids
different versions of .o/.ali laying everywhere) but it "pollutes"
the source directories...
--
Gautier
--------
http://members.xoom.com/gdemont/
next prev parent reply other threads:[~1999-08-04 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-04 0:00 Project structure with Gnat Jean-Philippe Iafrate
1999-08-04 0:00 ` David C. Hoos, Sr.
1999-08-04 0:00 ` Gautier [this message]
1999-08-04 0:00 ` Robert Dewar
1999-08-05 0:00 ` Vladimir Olensky
1999-08-04 0:00 ` David C. Hoos, Sr.
1999-08-05 0:00 ` Vladimir Olensky
1999-08-05 0:00 ` Robert Dewar
1999-08-05 0:00 ` Gautier
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox