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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,efc0694fbc88a71f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-19 14:07:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Problems by GNAT installation on Linux Mandrake OS Date: Sat, 19 Oct 2002 16:06:15 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <4a1641ae.0210190432.12f412ad@posting.google.com> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1035061623 32322 137.194.161.2 (19 Oct 2002 21:07:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sat, 19 Oct 2002 21:07:03 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2711.0600 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Original-Cc: fab102@bluemail.ch Xref: archiver1.google.com comp.lang.ada:29955 Date: 2002-10-19T16:06:15-05:00 ----- Original Message ----- From: "Karim" Newsgroups: comp.lang.ada To: Sent: October 19, 2002 7:32 AM Subject: Problems by GNAT installation on Linux Mandrake OS > Hi > > I tried to install the Gnat compiler with the doconfig and the > doinstall script..all works fine. First I installed all into the > /usr/gnat/bin Library. > After that, I tried to compile a simple hello World source like this > gcc -c hello.adb (and all that as root in the /usr/gnat/bin > directory) > There is an output from the system like this : gcc: hello.adb : Ada > compiler not installed on this system . > I changed the directory in doconfig script to /gnat .. and received > the same message output.. what is wrong ? > Very likely your problem is that when you type the command gcc -c hello.adb you are getting the standard (non-ada) version of gcc. To be sure type gcc -v You will probably get something like Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs as a response. The solution to the problem is to add /usr/gnat/bin in your path before the directory where the standard gcc is located, probably /usr/bin After doing that when you type gcc -v you should receive the response Reading specs from /usr/gnat/lib/gcc-lib/i686-pc-linux-gnu/2.8.1/specs > Thanks for your support > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >