comp.lang.ada
 help / color / mirror / Atom feed
From: Randy Binnie <rsbinnie@netscape.net>
Subject: Gnat filenaming
Date: Sat, 18 May 2002 07:00:00 GMT
Date: 2002-05-18T07:00:00+00:00	[thread overview]
Message-ID: <pan.2002.05.17.20.59.39.496795.2032@netscape.net> (raw)

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



             reply	other threads:[~2002-05-18  7:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-18  7:00 Randy Binnie [this message]
2002-05-18 20:22 ` Gnat filenaming 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