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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,16af87b269754773 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.germany.com!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!peer1.news.newnet.co.uk!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Newbie Questions Date: Tue, 01 Apr 2008 22:16:36 +0100 Organization: Pushface Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1207084596 14251 62.49.19.209 (1 Apr 2008 21:16:36 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Tue, 1 Apr 2008 21:16:36 +0000 (UTC) Cancel-Lock: sha1:CMKDXMwSbedNDXFHGPeKgOQBJww= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) Xref: g2news1.google.com comp.lang.ada:20743 Date: 2008-04-01T22:16:36+01:00 List-Id: Robert A Duff writes: > Chris Yocum writes: > >> Might anyone have any ideas? Have I missed something in the call to >> gnatlink? I can post code if that will help. > > You should never have to call gnatlink or gnatbind or gcc by hand, > unless you're doing something weird. Gnatmake will do it all. > > You should put "for Main use..." in your project file, > and/or mention the name of the main file on the gnatmake > command line. These things are covered in the docs. True, of course, but it can sometimes be useful to say gnatmake -P hello hello