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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b09296b102b861bc X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: How to compile with GNAT? Date: 2000/11/21 Message-ID: <8veve4$d4r$1@nnrp1.deja.com>#1/1 X-Deja-AN: 696350411 References: X-Http-Proxy: 1.0 x67.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 21 23:11:07 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20001010 Date: 2000-11-21T00:00:00+00:00 List-Id: In article , "Tomislav Kitynski" wrote: > Because of studies I D/L GNAT 2.7.2.1 for Amiga (GeekGadgets port), I > have also GCC installed. Uhm, there's not even a word in the tgz how > to use this compiler. I tried gnatmake hello.adb, but it outputs some > trash to console and soon crashes the system... 8( Well, I got e.g. First off, the current public version of Gnat is 3.13p. Any version 2.X is probably well over 4 years old. You *really* don't want to use a version that old. Secondly, in the most recent versions "gnatmake hello.adb" would try to build an executable from the compilation unit "hello" in "hello.adb". The fact that it tries to do something and dies nastily (rather than giving you some error message) tells me that the port you have is probably bad. You are almost certianly going to have to take that issue (along with the documentation issue) up with the people who built that port (GeekGadgets?). Given its vintage, I wish you the best of luck. But in order to get your school work done, you may well have to use a supported platform. I'm not at all unsympathetic. I happen to have two Amigas at home. Back when I was developing software on them, I used Modula-2 because that was the best language available for the Amiga. But I would have switched to Ada in a minute if it was available. Again, good luck to you. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.