GCC install cant find compiler

Dirk Heinrichs dirk.heinrichs at nokia.com
Fri Jan 3 05:19:10 PST 2003


Am Freitag, 3. Januar 2003 12:15 schrieb ext A D B:
> I'm trying to install gcc for the second time (not static, in the
> chrooted environment), and I get the following errors:
> [...]
> 1 exit status
> *** The command '/static/bin/gcc -s -o conftest -g   conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.
>
> I checked, and gcc does exist at /static/bin/gcc (non-chrooted path is
> /mnt/lfs/static/bin/gcc). The original $CC variable was 'gcc -s', and its
> oviously not working. I tried setting it to '/static/bin/gcc -s' and that
> produced the same exact error.
Hmmm, I think the -s is not a good idea. It seems gcc doesn't pass it to the 
linker unless you use gcc -Wl,-s.

HTH...

	Dirk
-- 
Dirk Heinrichs		| Tel:	+49 (0)211 47068 182
Configuration Manager	| Fax:	+49 (0)211 47068 111
Cap Gemini Ernst & Young| Mail:	dirk.heinrichs at cgey.com
Hambornerstraße 55	| Web:	http://www.cgey.com
D-40472 Düsseldorf	| ICQ#:	110037733

-- 
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