LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   binutils-2.14 first pass, gcc error (https://www.linuxquestions.org/questions/linux-from-scratch-13/binutils-2-14-first-pass-gcc-error-175228/)

Add1Sun 04-27-2004 02:50 PM

binutils-2.14 first pass, gcc error
 
I am building LFS on a Fedora Core 1 install (2.4.22-1.2115 kernel). I installed it as workstation and haven't done anything funny with it because it is only to build LFS from. I am now doing the first pass of binutils-2.14.

When I run:

$ make LDFLAGS="all-static"

I get all the stuff going fine and then:

gcc: all-static: No such file or directory
make[3]: *** [size] Error 1
make[3]: Leaving directory '/mnt/lfs/sources/binutils-build/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/binutils-build/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/binutils-build/binutils'
make: *** [all-binutils] Error 2

I searched high and low for an answer but I didn't find this particular binutils error in my searches. Any help is much appreciated.

ralam 04-27-2004 07:56 PM

The command is:
make LDFLAGS="-all-static"

You are missing a - in front of all.

Add1Sun 04-28-2004 08:26 AM

oy vey, i'm sorry. i read it over and over again and never saw that. my bad. :(

linuxnut2003 04-29-2004 04:27 PM

linux from scratch is a great tool to learn more about what can happen if you make 1 typo, but dont get discouraged, it will all work out. :)


All times are GMT -5. The time now is 06:27 PM.