From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14106 invoked from network); 20 Oct 1998 07:32:37 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 20 Oct 1998 07:32:37 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA26846 for ; Tue, 20 Oct 1998 03:24:17 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id BAA02992 for axp-list@redhat.com; Tue, 20 Oct 1998 01:24:13 -0600 From: Michal Jaegermann Message-Id: <199810200724.BAA02992@ellpspace.math.ualberta.ca> Subject: Re: Compiling egcs 1.0.3a - NOT WORKING! To: axp-list@redhat.com Date: Tue, 20 Oct 1998 01:24:13 -0600 (MDT) In-Reply-To: <000001bdfbf2$ef355870$127da2d0@steve.stevesworld.net> from "Steve G" at Oct 20, 98 01:29:04 am Content-Type: text Steve G wrote: > > Ok, here's what I've done. > > Un-tar'ed the egcs-1_0_3a_tar.gz in the /root/egcs dir. > Did a ./configure > Did a make > Did a make install > 4 hours later did a make bootstrap > > now, two hours later, I'm wondering why when I do a "egcs -version" I still > get > > [steve@hymen /]$ egcs --version > egcs-2.90.27 980315 (egcs-1.0.2 release) If you did not use --prefix= while runing ./configure then you ended up installing your new compiler as 'gcc' in /usr/local/bin - I think. 'make install' wrote you a precise message what it was installing and where. Try 'gcc -v'. You will find your brand new compiler IF your have directory in which you installed a new compiler in your PATH and IF it is there earlier than a directory with your "other" gcc exectutables. 'egcs' obviously runs Red Hat supplied program which was renamed to 'egcs' (an extremely bad idea IMO). Alias 'which' tells you which program you are really trying to run. Try 'which gcc' and 'which egcs', and 'which cc'. Michal