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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9cfdb95667af0990,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-18 00:00:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!howland.erols.net!newsfeed.mindspring.net.MISMATCH!newsfeed0.news.atl.earthlink.net!news.atl.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!3badafd7!not-for-mail From: Randy Binnie Subject: Gnat filenaming Newsgroups: comp.lang.ada Message-ID: User-Agent: Pan/0.11.2 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: ALL Date: Sat, 18 May 2002 07:00:00 GMT NNTP-Posting-Host: 24.217.211.78 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1021705200 24.217.211.78 (Sat, 18 May 2002 00:00:00 PDT) NNTP-Posting-Date: Sat, 18 May 2002 00:00:00 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:24336 Date: 2002-05-18T07:00:00+00:00 List-Id: This is probably a repeated question, but I couldn't find much in the FAQ. I'm trying to run gnatmake using filenames that dont follow the gnat filenaming convention. Renaming all the files is just not an option, and I dont really want to run gnatchop every time. I've been using gnatmake and the gnat.adc file containing pragma SOURCE_FILE_NAME( ... ) which works fine for all files within the directory, say directory A, when all required files are contained within A. But when compiling files in directory B, which has its own gnat.adc, and requires files from A, I get errors because gnat is searching A for filenames in gnat filenaming convention. How do I tell gnatmake to search directory A using the filenaming listed in A's gnat.adc? I hope there is a way to do this cause I'd rather not write my own compile script. Thanks for any help. Randy Binnie