how to switch compiler versions

Saifi Khan saifi.khan at datasynergy.org
Thu Nov 5 00:39:53 PST 2009


On Thu, 5 Nov 2009, Thomas Nikolajsen wrote:

> >Is there a script/command that can be used to switch to a
> >particular compiler version, say 4.4.2 in this case ?
> 
> The CCVER environment variable controls which GCC version to use;
> see make.conf(5) for further info.
> 
>  -thomas
> 

Thank you for your reply Thomas.

Yes, i'm aware of CCVER and make.conf.

What i had in mind was a utility like gcc-config. Please see
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.4.1?view=markup

Any pointers or observations in the context of BSD ?


thanks
Saifi.






More information about the Users mailing list