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: 10261c,90121986704b5776 X-Google-Attributes: gid10261c,public X-Google-Thread: fdb77,4873305131bf4d94 X-Google-Attributes: gidfdb77,public X-Google-Thread: 10c950,90121986704b5776 X-Google-Attributes: gid10c950,public X-Google-Thread: 109fba,4873305131bf4d94 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,4873305131bf4d94 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,4873305131bf4d94 X-Google-Attributes: gid103376,public From: "Larry Elmore" Subject: Re: ADA and Pascal SUCK, C,C++, and Java are the only languages you need!! Date: 1997/11/12 Message-ID: <64dedg$i9o@netra.montana.edu>#1/1 X-Deja-AN: 289807283 References: <34557f2b.1934172@news.mindspring.com> <34566fe9.447229@news.mindspring.com> <345673af.1413708@news.mindspring.com> <3456b9f3.0@news.eznet.net> <3456e71b.3833189@news.mindspring.com> <3459AC95.1D75@dynamite.com.au> <3468B532.3ACC@le.ac.uk> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: montana.edu Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.java.advocacy,comp.lang.pascal.ansi-iso,comp.lang.pascal.misc Date: 1997-11-12T00:00:00+00:00 List-Id: John Stevens wrote in message ... >On Tue, 11 Nov 1997 11:42:42 -0800, Dr E. Buxbaum wrote: >>John Stevens wrote: >> >>> Has anybody ever successfully used Ada on a Linux box? >> >>I have not worked with it personally, but there is the Gnu Ada compiler >>(Gnat). So in theory you should be able to run Ada on any system which >>is supported by Gnu software, including Linux. > >But as suggested, I've never gotten it to work under Linux. If anybody >has, is the result "true" Ada (does the compiler compile any legal Ada >program) and if so, to what standard does it comply? Have you tried this recently? What kernel version of Linux? Did you have the specified libc version or higher? You also need the proper version of ld and make (that is to say, one of the latest versions) if you're going to build GNAT from source. All of this is in the docs that come with GNAT. If you have the proper setup, getting the binary distribution to run on Linux is easy. Just unpack it and follow the directions. If you have files in non-standard locations, that can present problems, though. If you want to build GNAT from source, you still need to get and install the binary distribution because GNAT is written in Ada 95 and one must have a working Ada 95 compiler to compile the GNAT source. If megabytes of compiler source code (in legal Ada 95) isn't a good test of whether a compiler generates good code or not, I'm not sure what would be... :) (BTW, the GNAT source code can be quite educational to go through) I built GNAT 3.10p from source using the 3.10p binary and it worked like a charm once I figured out (with some help from this newsgroup) that one must build and install an Ada-aware gcc (from patched gcc source code) 'C' compiler, then use _that_ to build and install GNAT and 'C' and C++ and whatever else you want to use that uses gcc as the back-end. The docs aren't real explicit on that point, though it seems rather obvious in hindsight. GNAT is a validated Ada 95 compiler. I'm not at all sure, but I think it still might be the _only_ validated Ada 95 compiler available. Maybe that's changed recently, though. There's some bugs, of course, but if you know of a compiler of any language that is certified bug-free, I'd sure like to know where to get it! :) Larry