[lfs-book] -gcc: command not found

g.esp at free.fr g.esp at free.fr
Wed Dec 28 02:15:15 PST 2011



----- Mail original -----
> De: "Asmaa Airout" <a.airout at gmail.com>
> À: lfs-book at linuxfromscratch.org
> Envoyé: Mercredi 28 Décembre 2011 11:09:00
> Objet: [lfs-book] (no subject)
> 
> 
> 
> Hi everybody
> 
> 
> 
> i'm working with LFS on a live usb, and by following the book's
> instructions i arrived at "Installation of Cross GCC 4.6.2" and i
> have this error when typing the symbolic link ( ln -vs libgcc.a
> `$LFS_TGT-gcc -print-libgcc-file-name | \
> sed 's/libgcc/&_eh/'` )
> 
> lfs at ubuntu:/mnt/lfs/sources/gcc-build$ ln -vs libgcc.a `$LFS_TGT-gcc
> -print-libgcc-file-name | \
> >     sed 's/libgcc/&_eh/'`
> No command '-gcc' found, did you mean:
> Command 'cgcc' from package 'sparse' (multiverse)
> Command 'gcc' from package 'gcc' (main)
> Command 'gcc' from package 'pentium-builder' (universe)
> -gcc: command not found
> `./libgcc.a' -> `libgcc.a'
> 
> 
> thanks for your help !!
> 
> 
Obviously, you have LFS_TGT variable empty. Fix that.

Gilles

Nota : give a subject to your message, next time



More information about the lfs-book mailing list