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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2e5c3d9c5db6eb95 X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: Project structure with Gnat Date: 1999/08/04 Message-ID: #1/1 X-Deja-AN: 508738845 Content-Transfer-Encoding: 7bit References: <37A81DAB.53D76730@wanadoo.fr> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Trace: typ12.nn.bcandid.com 933767071 216.180.14.91 (Wed, 04 Aug 1999 07:44:31 EDT) MIME-Version: 1.0 NNTP-Posting-Date: Wed, 04 Aug 1999 07:44:31 EDT Newsgroups: comp.lang.ada Date: 1999-08-04T00:00:00+00:00 List-Id: Jean-Philippe Iafrate wrote in message news:37A81DAB.53D76730@wanadoo.fr... > I want to have the following project structure to be used with > gnatmake : > at the same directory level, many directories with sources, at > the same level only one directory with objects and .ali files. > What is the bes way to do this ? > I have read the Gnat users guide and the Gnat reference guide but > I'm not sure of what I have to do. 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 -I../ -I../ .. 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. David C. Hoos, Sr.