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: 103376,4c8d52df342ee757 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!feed1.news.rcn.net!feed2.news.rcn.net!rcn!news.astraweb.com!news-router2.astraweb.com!not-for-mail From: Phil Newsgroups: comp.lang.ada Subject: Re: gnatmake command line parameter - newbie question Date: Sat, 25 Sep 2004 13:38:37 +0100 Message-ID: References: <41544294.8040009@mailinator.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: c7abd635.news.astraweb.com X-Trace: DXC=3ZGGNm2n^iP7mQFj[jKB6X^FV^BcQmF:6Q Xref: g2news1.google.com comp.lang.ada:4167 Date: 2004-09-25T13:38:37+01:00 List-Id: On Fri, 24 Sep 2004 17:51:48 +0200, "Alex R. Mosteo" wrote: >Phil wrote: >> Hi, >> >> I want to do a >> >> "gnatmake gmain" but have the gnatmake look in subdirectories for >> dependant packages.....can you please tell me the right command? >> >> either on windows98 or linux. >> >> thanks............................me would be ever so grateful! :) > >Add -I for additional include folders. Check your users guide >for more details and other parameters. i have seen this command but have got something wrong, it wont work. i did check users guide. in fact what i am trying to compile is source code from the users guide! i have three files........... /home/Phil/gmain.abs /home/Phil/testsub/greetings.adb /home/Phil/testsub/greetings.abs from the /home/Phil directory i type "gnatmake gmain -ldir testsub" and get "greetings.abs not found" compilation fails. i need to know the EXACT text to type......i am refreshing my skills but i do know what users guides are.......i must be doing something silly but what? ANd once i figure this out i need a way to automatically examine all subdirectories as required.....cross that bridge when i come to it.....