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=0.1 required=5.0 tests=BAYES_00,LONGWORDS autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1e320108e0f97d38 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Error when running gcc from GPS Date: Sun, 25 Apr 2010 16:22:45 +0100 Organization: A noiseless patient Spider Message-ID: References: <1186698a-854c-44cd-9111-eeae825015dd@11g2000yqr.googlegroups.com> <82zl0raelh.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sun, 25 Apr 2010 15:22:47 +0000 (UTC) Injection-Info: news.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="11075"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WwX6ZkbQBGhDKM5Nc4POFgCRlXoNdvUg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:+DBoHwYIhE4dZUgz8Zi04bszLIo= sha1:5tmuB8ehyK/YCgHeA/RKVAiPi+Y= Xref: g2news1.google.com comp.lang.ada:10202 Date: 2010-04-25T16:22:45+01:00 List-Id: Stephen Leake 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.