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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6c7dea22b75ba442 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: ada compiler? Reply-To: anon@anon.org (anon) References: X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Fri, 09 Nov 2007 22:39:44 GMT NNTP-Posting-Host: 12.65.30.54 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1194647984 12.65.30.54 (Fri, 09 Nov 2007 22:39:44 GMT) NNTP-Posting-Date: Fri, 09 Nov 2007 22:39:44 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:18238 Date: 2007-11-09T22:39:44+00:00 List-Id: The program and package bodies should be .adb The package spec files are .ads For the gcc, the current version uses GNU GNAT: Ada programs must be compiled, then they must bind, before they can be linked into executable programs. gnat compile .adb gnatbind .ali gnatlink .ali In some cases the extension are optional. To get started try try searching the www.adapower.com site for some example programs. In , "Bill Cunningham" writes: > I have just began looking at the ada language and some tutorials but I >have no idea how to compile ada programs. I am using gcc with C,C++, and Ada >support. Do Ada programs have to end in .ads ? How do I work the compiler? > >Bill > >