Hi Alex,

Alex Schuster <wo...@wonkology.org> writes:

> Looks good to me. Finally, what is the PATH in /etc/profile.env? According 
> to the order of your gcc paths, I guess it has /usr/i686-pc-linux-gnu/gcc-
> bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.3.2 in it, while only the second 
> one should be there. Does "grep /usr/i686-pc-linux-gnu/gcc-bin/4.1.1 
> /ect/env.d/*" find something? Some obscure other file that env-update uses?
>
> If not, I have no more ideas. I'd change /etc/profile.env by hand then, and 
> file a bug report.

garnet ~ $ grep /usr/i686-pc-linux-gnu/gcc-bin/4.1.1 /etc/env.d/*
/etc/env.d/05gcc-i386-pc-linux-gnu:PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"
/etc/env.d/05gcc-i386-pc-linux-gnu:ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.1"

Moving /etc/env.d/05gcc-i386-pc-linux-gnu out of the way & running
env-update and source /etc/profile seems to have fixed things and I can
now switch freely between compiler versions.

Many thanks to you and to all who responded with suggestions.

Cheers,
Roger

Reply via email to