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,f63f154e76af1dae X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed2.sea.pnap.net!newsfeed.pnap.net!brmea-news-1.sun.com!news1brm.central.sun.com!new-usenet.uk.sun.com!not-for-mail From: Ole-Hjalmar Kristensen Newsgroups: comp.lang.ada Subject: Re: Help installing GNAT 3.15p on a linux machine Date: 20 Jan 2005 16:29:17 +0100 Organization: Sun Microsystems Message-ID: References: <1106193109.945998.285530@f14g2000cwb.googlegroups.com> <1106194898.055804.290540@c13g2000cwb.googlegroups.com> <5811174.eFslaFBACa@linux1.krischik.com> <1106233227.165388.271400@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: khepri06.norway.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: new-usenet.uk.sun.com 1106234963 15847 129.159.112.195 (20 Jan 2005 15:29:23 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 20 Jan 2005 15:29:23 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:7916 Date: 2005-01-20T15:29:23+00:00 List-Id: You probably need to do something like the following: setenv PATH /usr/gnat/bin:$PATH rehash I assume you already have another gcc on your system, and that the error message "gcc: b~hello.adb: Ada compiler not installed on this system" is coming from that one. BTW., gnatmake hello should be sufficient to compile and link your program, no need to start gcc explicitly. >>>>> "C" == Cephus� writes: C> I am running TSL version 2.2 C> I can compile an Ada program by using: C> /usr/gnat/bin/gcc -c hello.adb C> but, I can't create the object program when I try this: C> /usr/gnat/bin/gcc -c hello.adb C> /usr/gnat/bin/gnatmake hello.adb C> I get the error: C> gnatbind -x hello.ali C> gnatmake: error, unable to locate gnatbind C> Now I have looked and gnatbind is located in the /usr/gnat/bin folder. C> Anyone have any ideas what is going on? C> I even try to do it the long way by doing: C> /usr/gnat/bin/gcc -c hello.adb <--works C> /usr/gnat/bin/gnatbind hello <--works C> /usr/gnat/bin/gnatlink hello <--Error C> Error Message: C> gcc: b~hello.adb: Ada compiler not installed on this system -- C++: The power, elegance and simplicity of a hand grenade.