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-20 04:41:04 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!opentransit.net!wanadoo.fr!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: Sun, 20 Oct 2002 06:40:31 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <4a1641ae.0210190432.12f412ad@posting.google.com> <4a1641ae.0210191117.4dc171b5@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="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1035114063 34593 137.194.161.2 (20 Oct 2002 11:41:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 20 Oct 2002 11:41: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 X-Original-Cc: randhol@pvv.org Xref: archiver1.google.com comp.lang.ada:29958 Date: 2002-10-20T06:40:31-05:00 ----- Original Message ----- From: "Preben Randhol" Newsgroups: comp.lang.ada To: Sent: October 20, 2002 6:06 AM Subject: Re: Problems by GNAT installation on Linux Mandrake OS > Karim wrote: > > O.k, here are more informations, perhaps that can help > > The ADA version is 3.14p and the mandrake version is hmm (I try to > > remember) > > ...I be sure that is an very new Version like 8.x .. > > The error message above is the exactly output on the screen.. > > Is there something wrong with the path ? > > There were also a message when I installed gnat the first time in > > normal path /usr/gnat/bin : MESSAGE : There are some old ggc files, > > please remove it or try another options. > > You have to use: > > gnatmake and gnatgcc not gcc. This is incorrect information. There is no gnatgcc in the 3.14p distribution as it comes from ftp.cs.nyu.edu. The correct solution is that which I provided earlier, viz.: 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 > > > -- > Ada95 is good for you. > http://libre.act-europe.fr/Software_Matters/02-C_pitfalls.pdf > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >