Re: How can I simply test building a package with a different compiler version?
-----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
divanov@creditreform.bg http://www.creditreform.bg/
phone: +359(2)928-2611, 929-3993 fax: +359(2)920-0994
mob. +359(88)856-6067 dam@jabber.minus273.org/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-----
Reply to: