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.0 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,2e28dffa75fe6d1f X-Google-Attributes: gid103376,public From: Gautier.DeMontmollin@maths.unine.ch (Gautier) Subject: Re: Why does gnatlink say this? Date: 1997/10/21 Message-ID: <1997Oct21.183917.6290@news>#1/1 X-Deja-AN: 282227557 References: <344D3A94.3202@ntc.nokia.com> Organization: University of Neuchatel, Switzerland Reply-To: Remove_this.Gautier.deMontmollin@Maths.UniNe.CH Newsgroups: comp.lang.ada Date: 1997-10-21T00:00:00+00:00 List-Id: Tapio Marjom�ki writes: > I'm running my first attempts with GNAT for DOS and wondering why > gnatlink says this: > > C:\GNADA>gnatbind main.ali > > C:\GNADA>gnatlink main.ali > b_main.c(.text+0x90): undefined reference to `_ada_main' > > C:\GNADA> > > where "main" is my main procedure. Did you try "gnatmake main" ? -- Gautier -------- Homepage: http://www.unine.ch/math/Personnel/Assistants/Gautier/Montmollin.html Software: http://www.unine.ch/math/Personnel/Assistants/Gautier/Gaut_FTP.htm