-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fabian Guter wrote: > Hi! > > I'm using svn-buildpackage to build a debian package. > To test with other versions of g++ I changed the link /usr/bin/g++ to > point to g++-4.1 rather than to g++-4.0 and change it back after the test. > > Is there a simpler way to tell svn-buildpackage (or the underlying build > tools) which compiler it should use?
In case your package uses auto*, then configure script most probably honours CC, CXX, CPP and CXXPP environment variables. Put # Force usage of 4.1 export CC=gcc-4.1 export CXX=g++-4.1 export CPP=cpp-4.1 export CXXPP=cpp-4.1 before invoking configure and you should be fine. dam - -- Damyan Ivanov Creditreform Bulgaria [EMAIL PROTECTED] http://www.creditreform.bg/ phone: +359(2)928-2611, 929-3993 fax: +359(2)920-0994 mob. +359(88)856-6067 [EMAIL PROTECTED]/Gaim -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEWi4gHqjlqpcl9jsRAvyXAKCN6EgOEj6yFDelztrA5gOBbghm0gCfQHaR VILsWd63jpv0BKLVOwWABSQ= =Uk/B -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]