[uClibc] buildroot's gcc3_3_target does not work

Erik Andersen andersen at codepoet.org
Mon Aug 23 20:06:09 UTC 2004


On Mon Aug 23, 2004 at 02:23:09PM +0200, Richard -rw- Weinberger wrote:
> hi!
> 
> i've build a root_fs with buildroot (i tried also the cvs-version).
> but gcc does not work.
> 
> # gcc -v
> /usr/bin/gcc: No such file or directory
> # ldd /usr/bin/gcc
>         libc.so.6 => libc.so.6 (0x00000000)
>         /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)
[-------------snip---------------]
> what can i do?

This generally happens with distros such as gentoo that set 'CC'
in the environment.  The uClibc FAQ entry
	http://www.uclibc.org/FAQ.html#compiling
suggests you should run 'unset CC' before running 'make' to prevent
the system 'CC' value from screwing up the gcc cross-build.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list