Code Sample |
$ export PATH=/opt/build/bin:$PATH $ export CFLAGS=-I/opt/build/include $ export LDFLAGS=-L/opt/build/lib $ cd /usr/src/binutils-2.13 $ ./configure --prefix=/opt/compile --enable-shared --enable-threads --disable-static Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /usr/src/binutils-2.13 using "mt-frag" /ramdisk/opt/build/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: unrecognized option '--as-needed' /ramdisk/opt/build/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status *** The command 'gcc -o conftest -I/opt/build/include -L/opt/build/lib conftest.c' failed. *** You must set the environment variable CC to a working compiler. |
Quote |
Well, it would be a uci rather than dsl/unc and it would be compiled on dsl rather than (I think) made from debs. |
Quote |
/ramdisk/opt/build/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: unrecognized option '--as-needed' /ramdisk/opt/build/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status *** The command 'gcc -o conftest -I/opt/build/include -L/opt/build/lib conftest.c' failed. *** You must set the environment variable CC to a working compiler. |