comp.lang.ada
 help / color / mirror / Atom feed
* GNAT on Fedora Core 3?
@ 2005-03-16 15:32 Steve O'Neill
  2005-03-16 16:05 ` Pascal Obry
  0 siblings, 1 reply; 2+ messages in thread
From: Steve O'Neill @ 2005-03-16 15:32 UTC (permalink / raw)


Hi,

I'm trying to get GNAT functioning on a new system running FC3.  Note I 
wasn't the one that did the install of the OS or the tools.

It appears that the gcc-gnat-3.4.2.6-fc3 RPM is installed.  This is 
verified by the fact that I get the help information if I enter just 
gnat.  However, if I try to do a gnatmake hello.adb I am told by gcc 
that "Ada compiler not installed on this system".

The gcc RPM installed is the same version as that of GNAT.

How do I get gcc to recognize that GNAT is installed?

Thanks




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GNAT on Fedora Core 3?
  2005-03-16 15:32 GNAT on Fedora Core 3? Steve O'Neill
@ 2005-03-16 16:05 ` Pascal Obry
  0 siblings, 0 replies; 2+ messages in thread
From: Pascal Obry @ 2005-03-16 16:05 UTC (permalink / raw)



Steve O'Neill <steve.oneill@earthlink.net> writes:

> How do I get gcc to recognize that GNAT is installed?

Looks like you have 2 compilers installed, one for GNU/C-C++ and one for
GNU/Ada. So you can try this:

$ which gnatmake
/whatever/gnat/is/installed/bin/gnatmake

$ PATH=/whatever/gnat/is/installed/bin:$PATH

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-16 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16 15:32 GNAT on Fedora Core 3? Steve O'Neill
2005-03-16 16:05 ` Pascal Obry

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