* Re: Filenames vs Compilation Unit Names
1997-07-18 0:00 Filenames vs Compilation Unit Names kgamble
@ 1997-07-18 0:00 ` Robert Dewar
0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1997-07-18 0:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Filenames vs Compilation Unit Names
@ 1997-07-18 0:00 kgamble
1997-07-18 0:00 ` Robert Dewar
0 siblings, 1 reply; 2+ messages in thread
From: kgamble @ 1997-07-18 0:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-07-18 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-07-18 0:00 Filenames vs Compilation Unit Names kgamble
1997-07-18 0:00 ` Robert Dewar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox