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,505f4ead643b6059 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Newsgroups: comp.lang.ada Subject: Re: Ada - cannot exec `gnat1' References: From: Markus E Leypold Organization: N/A Date: Sun, 11 Feb 2007 02:56:47 +0100 Message-ID: <4ttzxtjw2o.fsf@hod.lan.m-e-leypold.de> User-Agent: Some cool user agent (SCUG) Cancel-Lock: sha1:X3HIVU47148CPl4BUQPrGyzOlUc= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 88.74.33.177 X-Trace: news.arcor-ip.de 1171158692 88.74.33.177 (11 Feb 2007 02:51:32 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:9249 Date: 2007-02-11T02:56:47+01:00 List-Id: "  jpluto" writes: > Hello, > > > The Unix admin installed gnat on a linux box. > > When I ran gnatmake I go the following error: > > gcc: installation problem, cannot exec `gnat1' > > Please let me know how to fix and install gnat correctly. It looks like the following problem: - gnatmake executes gcc to compile Ada source - the gcc it finds is a gcc w/o Gnat, i.e. it has no gnat1. Have a look which gcc is first in the path (with 'which gcc') and compare with gnatmake ('which gnatmake'). Try to change your PATH variable if the installation locations look different. But of course remote diagnosis is difficult under the circumstances. A bit more information might be helpful. Regards -- Markus