comp.lang.ada
 help / color / mirror / Atom feed
From: Markus E Leypold <development-2006-8ecbb5cc8aREMOVETHIS@ANDTHATm-e-leypold.de>
Subject: Re: Ada - cannot exec `gnat1'
Date: Sun, 11 Feb 2007 02:56:47 +0100
Date: 2007-02-11T02:56:47+01:00	[thread overview]
Message-ID: <4ttzxtjw2o.fsf@hod.lan.m-e-leypold.de> (raw)
In-Reply-To: mailman.91.1171157174.18371.comp.lang.ada@ada-france.org


"  jpluto" <jpluto@hotmail.com> 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



      reply	other threads:[~2007-02-11  1:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200701081252.53809.ali.bendriss@dementia.ion.ucl.ac.uk>
2007-02-11  1:25 ` Ada - cannot exec `gnat1'   jpluto
2007-02-11  1:56   ` Markus E Leypold [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox