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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4144febd6989b2b8,start X-Google-Attributes: gid103376,public From: "kgamble" Subject: Filenames vs Compilation Unit Names Date: 1997/07/18 Message-ID: <01bc93a6$c43b3500$7175b89e@Ken'slaptop.ssd.loral.com>#1/1 X-Deja-AN: 257609646 Organization: Space Software Systems Newsgroups: comp.lang.ada Date: 1997-07-18T00:00:00+00:00 List-Id: I am doing a port of a large Ada program whose sources are contained in many subdirectories and where filenames do not match compilation unit names. I have attempted to use the features of GNAT that are suppose to handle this situation. Setting up a search path will work if the filenames match the compilation names. And the gnat.adc will work if all the sourcefiles are located in a common subdirectory. However, it appears the both mechanisms do not play together to handle the case where such files are located in different subdirectories. I get a compile error when compiling a file which has a 'with clause' on a unit located in another subdirectory. Has anybody been successful with this problem without resorting to changing all filenames to match unit names. There are many reasons why I do not want to change the filenames. I am using GNAT3.09 on a Windows95 platform Thx