Re: How can I simply test building a package with a different compiler version?

2006-05-06 Thread Fabian Guter
Hi! Using this should work: MAKEFLAGS=CXX=g++-4.1 svn-buildpackage make will behave as if it has been called using `make CXX=g++-4.1' That's it, it works! Thanks to all for the help! Regards, Fabian pgp3CORM3uj7r.pgp Description: PGP signature

How can I simply test building a package with a different compiler version?

2006-05-04 Thread Fabian Guter
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

Re: How can I simply test building a package with a different compiler version?

2006-05-04 Thread Damyan Ivanov
-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

Re: How can I simply test building a package with a different compiler version?

2006-05-04 Thread Fabian Guter
Hallo dam, 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

Re: How can I simply test building a package with a different compiler version?

2006-05-04 Thread Thomas Girard
Fabian Guter wrote: Hallo dam, 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

Re: How can I simply test building a package with a different compiler version?

2006-05-04 Thread Thomas Girard
Thomas Girard wrote: You can override these inconditionnally define variables no using environment but using make. I meant You can override these inconditionally defined variables not using environment but using make arguments. Sorry about that. So to summarize, using `make CXX=g++-4.1'

Re: How can I simply test building a package with a different compiler version?

2006-05-04 Thread Fabian Guter
Hi! So to summarize, using `make CXX=g++-4.1' should do. OK, that looks simple! But how about passing parameters to make when using svn-buildpackage. I looked into the documentation (also of dpkg-buildbackage) but didn't find anything helpful. Do I have to build 'by hand' using make or is it

Re: How can I simply test building a package with a different compiler version?

2006-05-04 Thread Eddy Petrişor
On 5/5/06, Fabian Guter [EMAIL PROTECTED] wrote: Hi! So to summarize, using `make CXX=g++-4.1' should do. OK, that looks simple! But how about passing parameters to make when using svn-buildpackage. I looked into the documentation (also of dpkg-buildbackage) but didn't find anything helpful.

Re: How can I simply test building a package with a different compiler version?

2006-05-04 Thread Thomas Girard
[sorry Eddy, resending this to the ml] Eddy Petrişor wrote: On 5/5/06, Fabian Guter [EMAIL PROTECTED] wrote: Hi! So to summarize, using `make CXX=g++-4.1' should do. OK, that looks simple! But how about passing parameters to make when using svn-buildpackage. I looked into the documentation