also sprach Kai-Cheung Leung <kcleung@users.sourceforge.net> [2005.07.09.0937 +0200]: > I have both GCC 4.0 and GCC 3.3.5 installed. GCC 4.0 is intended for > future distributions and GCC 3.3.5 is intended for backport to sarge. > When I invoke dpkg-buildpackage to build my debs, how can I specify which > compiler and which libstdc++ libraries dpkg-buildpackage to use? Does CC=gcc-3.3 CXX=g++-3.3 dpkg-buildpackage work? If not then the only way to do so is to provide /usr/local/bin/gcc or ~/bin/gcc (before /usr/bin in the $PATH) to call the appropriate one based on e.g. another environment variable. Maybe it would be worth the create a new package which diverts /usr/bin/gcc and /usr/bin/g++ and puts scripts into its place which read and honour $DEBIAN_GCC_VERSION? -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <madduck@debian.org> : :' : proud Debian developer and author: http://debiansystem.info `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! perl -e 'print "The earth is a disk!\n" if ( "earth" == "flat" );'
Attachment:
signature.asc
Description: Digital signature