From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,4cf02382bee25dc5,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-08-06 10:08:28 PST Path: gmd.de!xlink.net!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!batcomputer!bounce-bounce From: re@palissandre.enpc.fr (Rolf EBERT) Newsgroups: comp.os.linux.announce Subject: GNAT (Ada9X) for Linux Followup-To: comp.os.linux Date: 6 Aug 1993 12:43:33 -0400 Organization: None Sender: mdw@TC.Cornell.EDU Message-ID: <23u1nl$9qs@theory.TC.Cornell.EDU> Reply-To: re@palissandre.enpc.fr (Rolf EBERT) NNTP-Posting-Host: theory.tc.cornell.edu Keywords: GNAT, Ada translator, languages I have uploaded to nic, tsx-11, and sunsite my port of the GNU Ada Translator (GNAT). It still is in the incoming directories until the SysAdmins move it anywhere else. You find attached my README.linux. Here comes the Gnu Ada compiler for Linux in its very first early alpha version (in fact it's the 2nd :-). The GNAT project will implement the Ada9X language which has full support of Object Oriented Programming (using a slightly different approach than C++), has already working Generics (aka templates), exception handling, and a full tasking support within the language itself (the runtime support for Linux is not ready yet; will there ever be kernel supported threads ?) There still are a lot of problems in the current version, and the authors don't care about bug reports at the moment. They know, what still is left to do. Nevertheless, one can already write a compiler with GNAT, since it has boostraped itself. (takes about one hour on my Linux PC 33MHz-8MB RAM). It is interesting to see the GNAT approach of the Ada library (which IMHO could be useful and easy to implement for the C/C++/Obj-C languages as well) My package essentially contains three files: ./bin/gcc ./bin/gnatbind ./lib/gcc-lib/i386-linux/2.4.5/gnat1 (you have to unpack it being in /usr) The first one is a patched driver program for gcc (2.4.5) in order to choose the GNAT compiler when it encounters source files ending in ".ada", ".ads", and ".adb". The second is a temporarily needed binder program until it gets included into gcc. The compiler itself is 'gnat1'. All C files have been compiled with gcc 2.4.3, the Ada files with gnat1 itself of course (the Ada front-end is written in Ada). Documentation can be found in the directory /usr/src/gnat/doc A simple example is in /usr/src/gnat/example BUGS There is one known bug in my port of the Linux version. If you use exception handling, you must put the following line in a file, compile it, and add the resulting .o when you do the linkstep. setjmp(tmp){ __setjmp(tmp); } If you have problems using gnat on Linux please tell me (ebert@enpc.fr). If you have general questions concerning Ada, please read comp.lang.ada and the useful FAQ. A lot of Ada information can be found at wuarchive.wustl.edu:/languages/ada. If you are interested in the gnat development, you can join the mail list at gnat-request@cs.nyu.edu. Have fun with Ada Rolf ----------------------------------------------------------------------------- Rolf Ebert Groupe Informatique et Systemes Energetiques GISE EMP-ENPC Tel: +33 1 43044098 app 3475 FAX: +33 1 43046364 La Courtine Cedex Internet: ebert@enpc.fr F-93167 Noisy le Grand ----------------------------------------------------------------------------- -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu