Startup Problem 2: GCC-3.3.3 - Pass 1

spamtrap2 at spamtrap2 at
Sun Feb 6 17:04:21 PST 2005

Here are my attemopts and the output/problem.


lfs at 0[gcc-build]$ pwd

lfs at 0[gcc-build]$ ../gcc-3.3.3/configure --prefix=/tools     --with-local-prefix=/tools     --disable-nls --enable-shared     --enable-languages=c
Configuring for a i586-pc-linux-gnu host.
Created "Makefile" in /mnt/hdb7/build/gcc-build using "mt-frag"
/tools/bin/ld: unrecognized option '--as-needed'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

lfs at 0[gcc-build]$ gcc -v                                                                                   Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-7)
lfs at 0[gcc-build]$ 

More information about the lfs-support mailing list