[lfs-book] -gcc: command not found

Asmaa Airout a.airout at gmail.com
Wed Dec 28 02:21:09 PST 2011


Sorry i'm newbie in Linux, how to fix it

2011/12/28 <g.esp at free.fr>

>
>
> ----- 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)debutant
> > 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
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-book
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page




-- 
Mlle. Asmaa AIROUT
Ingénieur d'Etat en Informatique de l'ENSIAS
Tél: (+212) 06 72 71 58 49
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-book/attachments/20111228/d0d3dd32/attachment.html>


More information about the lfs-book mailing list