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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f63f154e76af1dae X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: f <242@fal.com> Newsgroups: comp.lang.ada Subject: Re: Help installing GNAT 3.15p on a linux machine Date: Thu, 20 Jan 2005 14:22:56 -0800 Message-ID: References: <1106193109.945998.285530@f14g2000cwb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net ju4HzSvBbMfDhIguhExTfQCkfPmIEyruA6sHtYiY0cLVcArEhh User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Xref: g2news1.google.com comp.lang.ada:7921 Date: 2005-01-20T14:22:56-08:00 List-Id: On Wed, 19 Jan 2005 19:51:49 -0800, Beau Elliott wrote: > Can anyone help me with my install of GNAT 3.15p. I downloaded the > linux version from http://libre.act-europe.fr/GNAT/ > > I then used: > gunzip -c gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz | tar xf - > > I then used the doconfig (using option 2) script to create the > doinstall file. > > Once I did this, I ran the doinstall file and it finished. > > I then wrote a hello world program to test it out, > > I typed: > > gcc -c hello.adb > > and then I got an error saying: Ada compiler not installed on this > system. > > Can anyone help me fix this problem? I know this is not necessarily a > Ada problem, but I assume some of you use linux and probably use this > compiler so maybe some of you can help me solve my problem. I would > really like to use Ada in a linux environment. Thanks in advance! I haven't read any other replies so I apologize if this is a repeat: gcc a front end to the compilers, g++, etc. If you haven't rebuilt gcc to include ada support, you cannot expect gcc to compile your ada files for you. You want to use gnatmake (try typing gnat in your shell and you should see all possible completions)