comp.lang.ada
 help / color / mirror / Atom feed
From: "kgamble" <kgamble@ricochet.net>
Subject: Filenames vs Compilation Unit Names
Date: 1997/07/18
Date: 1997-07-18T00:00:00+00:00	[thread overview]
Message-ID: <01bc93a6$c43b3500$7175b89e@Ken'slaptop.ssd.loral.com> (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





             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 kgamble [this message]
1997-07-18  0:00 ` Filenames vs Compilation Unit Names Robert Dewar
replies disabled

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