compiling and installing gcc

Bradley J. Bartram bradbartram at wycol.com
Mon Feb 18 09:42:24 EST 2002


On Monday 18 February 2002 03:34 am, you wrote:
> Hi,
>
> 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?
>

With Mandrake, if you have a second GCC installed, like your situation, you 
have to explicitly call that particular version.  So instead of compiling 
using GCC, you would instead compile using GCC-3 or something to that effect. 
 Of course using command aliases and such, you can mask that differently or 
replace GCC altogether with the new version.

Cheers

Brad


More information about the nflug mailing list