Hallo! I am trying to create my first LFS 5.1.1
I downloaded all the correct packages with the patches and I am trying to
compile gcc-3.3.3 with no luck
l
Code:
fs@debian-lfs:/mnt/lfs/sources/gcc-build$ ../gcc-3.3.3/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /mnt/lfs/sources/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 '/usr/bin/gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
I am using Linux version 2.4.27-1-386 (joshk@trollwife) (gcc version 3.3.4 (Debian 1:3.3.4-9)) #1 Fri Sep 3 06:24:46 UTC 2004
Can someone help me ?
I have read the guid for 2 days and searching