gcc compilation error

Nathan Hall nrh2 at aber.ac.uk
Sun Jan 19 13:42:27 PST 2003

----- Original Message -----
From: "Chris Lingard" <chris at stockwith.co.uk>
To: <lfs-support at linuxfromscratch.org>
Sent: Sunday, January 19, 2003 9:00 PM
Subject: Re: gcc compilation error

> Nathan Hall wrote:
> > Hi, i have an error with the compilation of the none statically linked
> > compilation, i get the following error
> >
> > ***The command '/static/bin/gcc -o conftest -g -02  conftest' failed.
> > ***You must set the environment variable CC to a working compiler.
> The programs that you built into /static/bin are not statically linked.
> The two packages that you should check first are grep and gcc.  Do:
> file  $LFS/static/bin/egrep
> file  $LFS/static/bin/gcc
> They should say statically linked.  If not, return to chapter 5 and
> rebuild the offending package.

it says that egrep is a symbolic link to grep, which i checked and is
statically linked file, is egrep the same as grep?

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list