comp.lang.ada
 help / color / mirror / Atom feed
From: "markww" <markww@gmail.com>
Subject: packages
Date: 20 Dec 2006 13:11:40 -0800
Date: 2006-12-20T13:11:40-08:00	[thread overview]
Message-ID: <1166649100.107626.64210@48g2000cwx.googlegroups.com> (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




             reply	other threads:[~2006-12-20 21:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-20 21:11 markww [this message]
     [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
replies disabled

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