Help with conflicting versions of GCC

Colin Watson cjwatson at ubuntu.com
Mon Mar 7 15:22:13 UTC 2005


On Tue, Mar 08, 2005 at 01:59:25AM +1100, Adam Membrey wrote:
> I've currently got GCC 3.3 and 3.4 installed on my ubuntu
> 
> doing a gcc -v gives gcc version 3.4.4 yet if I do a cat /proc/version I 
> get "Linux version 2.6.10-3-amd64-generic (buildd at yellow) (gcc version 
> 3.3.5 (Debian1:3.3.5-8ubuntu2))"

That's the version with which the kernel you're running was compiled.
/proc/version doesn't know anything about random programs you happen to
have installed.

> When my programs compile I can see in the config.log that it's reporting 
> GCC 3.3 but using GCC 3.4

What does this report look like?

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list