compiling and installing gcc

umar umar99 at yahoo.com
Tue Feb 19 01:33:22 EST 2002


It worked. Thanks. 

Umar

--- deadpoint at adelphia.net wrote:
> it's likely that your new gcc installed under
> /usr/local, and the systems
> gcc is under /usr. if you look at you $PATH, echo
> $PATH /usr/local/bin is
> probably after /usr/bin. reorder your path so that
> /usr/local/bin and
> /usr/loca/sbin are first and you use that executable
> first. or rename it to
> gcc3 and set the $CC and $GCC environment variables
> to gcc 3.
> 
> to reorder your $PATH
> 
> bourne style shells
>
PATH=/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin/:/path/to/
> anything/else
> export PATH
> 
> C style shells
> setenv PATH
>
/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin/:/path/to/anyth
> ing/else
> 
> 
> At 09:34 AM 2/18/02 -0500, you wrote:
> >
> >> I am using linux mandrake 8.0. I needed gcc 3.0+
> to
> >> compile something, but I had older version (2.96)
> that
> >> came with the mandrake CD. So I downloaded gcc
> 3.0.3
> >> and compiled and installed it by following the
> >> instructions at the gcc website. Everything went
> fine
> >> and I did not notice any errors during the
> process.
> >> However, when I tried to compile what I was
> compiling
> >> before, it still detected the old version of gcc.
> Any
> >> idea whats going on here?
> >
> >Where did you install gcc?  if you do a hich gcc,
> does it point to the new
> >gcc you compiled?  You might have to update your
> path accordingly.
> >
> >
> >> On a different note, which is the best divX
> player for
> >> linux these days?
> >
> >I'm keen on mplayer.  Though, it can be difficult
> to compile & setup.
> >
> >
> >Dege
> >
> >So Many Things in Life Would Be Really Funny
> >.... If They Weren't Happening To Me
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com


More information about the nflug mailing list