From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e8164763d1f73294,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!48g2000cwx.googlegroups.com!not-for-mail From: "markww" Newsgroups: comp.lang.ada Subject: packages Date: 20 Dec 2006 13:11:40 -0800 Organization: http://groups.google.com Message-ID: <1166649100.107626.64210@48g2000cwx.googlegroups.com> NNTP-Posting-Host: 67.154.89.221 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1166649106 29121 127.0.0.1 (20 Dec 2006 21:11:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 20 Dec 2006 21:11:46 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 48g2000cwx.googlegroups.com; posting-host=67.154.89.221; posting-account=cNKOMg0AAADT2ug8oGSYYXo8bsDvrHzw Xref: g2news2.google.com comp.lang.ada:7961 Date: 2006-12-20T13:11:40-08:00 List-Id: 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