[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using gcc/g++-3.2 as default compiler



If you use g++ 3.2, all c++ libraries you link with should also be compiled 
by gcc 3.2

> Hello all,
> 
> I am trying to build a new version of one of my packages, as upstream
> has ported it to gcc/g++-3.2 and KDE3.  It would be nice to have the
> kinks ironed out before the transition actually happens in sid, I think.
> I am wondering if anyone has any good method for switching the default
> compiler.  I am using a pbuilder chroot, and so I log in, and then
> switch the symlinks (gcc, g++, gcov, and cpp) to point to the 3.2
> versions.
> 
> For now, the build is failing.  In order to help sort it out, are there
> any other links I should be switching?  Some other (smarter?) way to do
> this?  It builds fine before I mess with any of the links, or set
> environment variables (CC, CXX, CPP), so I'm not convinced that it's a
> code problem, although it may be - I know there are many
> incompatibilities between the two versions.
> 
> TIA,



Reply to: