On 18-09-2006 11:04:31 +0200, Jens Teubner wrote:
The attached config.log, by the way, is full of `gcc: unrecognized option `-no-undefined'' warnings. Is this supposed to be like this?
I cannot find a compiler that does like it: (pegasus:~) fabian% gcc-config -l Using gcc-config info in /ufs/fabian/scratch/programs/gentoo/ [1] x86_64-pc-linux-gnu-3.3.6 [2] x86_64-pc-linux-gnu-3.3.6-hardened [3] x86_64-pc-linux-gnu-3.3.6-hardenednopie [4] x86_64-pc-linux-gnu-3.3.6-hardenednopiessp [5] x86_64-pc-linux-gnu-3.3.6-hardenednossp [6] x86_64-pc-linux-gnu-3.4.6 [7] x86_64-pc-linux-gnu-3.4.6-hardened [8] x86_64-pc-linux-gnu-3.4.6-hardenednopie [9] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp [10] x86_64-pc-linux-gnu-3.4.6-hardenednossp [11] x86_64-pc-linux-gnu-4.1.1 * (pegasus:~) fabian% gcc-config 6 * Switching native-compiler to x86_64-pc-linux-gnu-3.4.6 ... [ ok ] (pegasus:~) fabian% gcc --version gcc (GCC) 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.9) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (pegasus:~/tmp) fabian% gcc -o t -no-undefined t.c gcc: unrecognized option `-no-undefined' (pegasus:~/tmp) fabian% (pegasus:~/tmp) fabian% gcc-config 11 * Switching native-compiler to x86_64-pc-linux-gnu-4.1.1 ... [ ok ] (pegasus:~/tmp) fabian% gcc -o t -no-undefined t.c gcc: unrecognized option '-no-undefined' t.c: In function ‘main’: t.c:2: warning: incompatible implicit declaration of built-in function ‘exit’ (pegasus:~/tmp) fabian% gcc-config 1 * Switching native-compiler to x86_64-pc-linux-gnu-3.3.6 ... [ ok ] (pegasus:~/tmp) fabian% gcc -o t -no-undefined t.c gcc: unrecognized option `-no-undefined' (pegasus:~/tmp) fabian%