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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,73948557fb2a93b0,start X-Google-Attributes: gid103376,public From: bf14@prism.gatech.edu ("none") Subject: Linking ADA files Date: 1997/02/21 Message-ID: <5elb2q$him@acmex.gatech.edu>#1/1 X-Deja-AN: 220527053 Organization: Georgia Institute of Technology Newsgroups: comp.lang.ada Date: 1997-02-21T00:00:00+00:00 List-Id: I'm new to ADA so this should be relatively simple. I'm using GNAT307 for DOS. (GNAT 95) I want to write my packages in different files so I can debug each separately then link them when I compile the "main" program. How are the files set up for compiling? Typically I use a procedure with the same name as the file and inside of which I declare a package. Also what is the command to compile the main program and link these files containing my packages? I've successfully compiled and ran programs in a single file with my packages declared inside a procedure which acts as my main program. But now my program is so large that I would like to break it up into several files and work on each file separately. I didn't find a FAQ so forgive me if this question is too trival. -- Brian Franklin Georgia Institute of Technology, Atlanta Georgia, 30332 uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!bf14 Internet: bf14@prism.gatech.edu