comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Error when running gcc from GPS
Date: Sun, 25 Apr 2010 16:22:45 +0100
Date: 2010-04-25T16:22:45+01:00	[thread overview]
Message-ID: <m24oiza75m.fsf@pushface.org> (raw)
In-Reply-To: 82zl0raelh.fsf@stephe-leake.org

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> You need to put
> /home/ken/AdaGPL/gnat-2008-i686-gnu-linux-libc2.3-bin/bin in your
> PATH, so gprbuild is invoked with the right path, and can find these
> other files.

This doesn't sound like the way it _should_ be installed. Something must
have gone wrong with OP's installation.

I have an 8.04 Ubuntu running in a VMWare Fusion VM, and it has GNAT GPL
2008 installed at /opt/gnat-gpl-2008 (I find it handy to keep several
compilers available), and the contents of the bin/ directory are

   addr2line cbrowser cpp dbimp gcc gccbug gcov gdb gnat gnatbind
   gnatcheck gnatchop gnatclean gnatelim gnatfind gnathtml.pl gnatkr
   gnatlink gnatls gnatmake gnatmem gnatmetric gnatname gnatpp gnatprep
   gnatstub gnatxref gprbuild gprbuild_debug gprclean gprclean_debug
   gprconfig gprconfig_debug gprmake gprof gps gps_exe
   i686-pc-linux-gnu-gcc i686-pc-linux-gnu-gcc-4.1.3 objdump

I'm a bit suspicious about the OP's file locations in
general. /home/ken/AdaGPL/gnat-2008-i686-gnu-linux-libc2.3-bin is the
place where the binary distribution would unpack to; whenever I've done
installs (which I do as root) it asks me where I want it to install
(default /usr/local, I think, but as I said above I don't use that) and
copies all the files it needs to to that location. You can delete the
distribution directory completely after the install.



      parent reply	other threads:[~2010-04-25 15:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 11:03 Error when running gcc from GPS resander
2010-04-24 11:15 ` Simon Wright
2010-04-24 16:53   ` resander
2010-04-24 17:46     ` Ludovic Brenta
2010-04-25 10:41       ` resander
2010-04-25 17:12         ` Ludovic Brenta
2010-04-25 12:42   ` Stephen Leake
2010-04-25 15:07     ` resander
2010-04-25 17:13       ` Ludovic Brenta
2010-04-25 15:22     ` Simon Wright [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