comp.lang.ada
 help / color / mirror / Atom feed
* packages
@ 2006-12-20 21:11 markww
       [not found] ` <mailman.4.1166651673.18371.comp.lang.ada@ada-france.org>
  0 siblings, 1 reply; 9+ messages in thread
From: markww @ 2006-12-20 21:11 UTC (permalink / raw)


Hi,

I wrote a package to be included with my main program, my directory
looks like:

     generic_list.ads  // package def
     generic_list.adb  // package body
     AdaGenericLinkedList.adb // my main program

Now I need all three to be present in the same directory to compile the
main adb file with gnat make. I see some websites suggesting Ada's
compilation method is different than C++'s, as in you don't need all
the package parts to be present in order to compile successfully, but
that doesn't seem to be the case here (if I remove generic_list.ads /
adb compilation fails).

Is there some other compilation style which lets you segment out some
files somehow?

Thanks,
Mark




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-12-25 13:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-20 21:11 packages markww
     [not found] ` <mailman.4.1166651673.18371.comp.lang.ada@ada-france.org>
2006-12-20 22:03   ` packages markww
2006-12-21  9:04     ` packages Martin Krischik
2006-12-22  9:44       ` inline expansion Stephen Leake
2006-12-22 10:57         ` Markus E Leypold
2006-12-25 13:53           ` Hyman Rosen
2006-12-21  9:04     ` packages Martin Krischik
2006-12-21  9:01   ` packages Martin Krischik
2006-12-23 10:10     ` packages Simon Wright

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