Hello, I am the current maintainer of apt-build.
I am looking for the best way to wrap all calls to gcc/g++. For now, apt-build makes a diversion like this in /usr/bin: lrwxrwxrwx 1 root root 11 Dec 31 14:27 gcc -> gcc-3.3 becomes: lrwxrwxrwx 1 root root 7 Nov 15 21:17 gcc.real -> gcc-3.3 And it installs a program called gcc.wrapper instead, which executes gcc.real with good options: lrwxrwxrwx 1 root root 11 Dec 31 14:27 gcc -> gcc.wrapper -rwxr-xr-x 1 root root 4656 Dec 31 14:26 gcc.wrapper But some programs call directly gcc-3.3 (like libc6 as I can see), or i386-linux-gcc. Do you have any idea about how to divert everything correctly ? I think I could provide a gcc-apt-build package which would do the job by replacing the gcc one and diverting some files, but I am bot happy with this solution. So, I am waiting for suggestions, Cheers, -- Julien Danjou .''`. Debian developer : :' : http://julien.danjou.info `. `' http://people.debian.org/~acid `- 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
signature.asc
Description: Digital signature