comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Filenames vs Compilation Unit Names
Date: 1997/07/18
Date: 1997-07-18T00:00:00+00:00	[thread overview]
Message-ID: <dewar.869263223@merv> (raw)
In-Reply-To: 01bc93a6$c43b3500$7175b89e@Ken'slaptop.ssd.loral.com


kgamble says

<<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
>>


These mechanisms work fine together, I do it all the time, and so do
a number of our customers. YOu must be doing something wrong, impossible
for anyone to guess what without more information.





      reply	other threads:[~1997-07-18  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-18  0:00 Filenames vs Compilation Unit Names kgamble
1997-07-18  0:00 ` Robert Dewar [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox