[uClibc] $(TARGET_DIR)/usr/bin/gcc is x86, even when target is arm

Ned Ludd solar at gentoo.org
Thu Nov 18 14:40:06 UTC 2004


On Thu, 2004-11-18 at 02:31, Karsten Kruse wrote:
> On Wed, 17 Nov 2004, Mike Frysinger wrote:
> 
> >> in my attempt to build a complete arm-compiler toolchain for my Psion 
> >> (arm-cpu) i noticed that the binarys installed in $(TARGET_DIR) by 
> >> buildroot sometimes are x86 binaries. That is true for gcc and 
> >> binutils.
> 
> > are you using Gentoo ?
> 
> Yes, my workstation runs Gentoo. I searched the list but got nothing 
> useful, 
> is there a problem with Gentoo?


Older gcc-config revisions would set CC & CXX in the env via
/etc/env.d/gcc.
The older revisions that set CC/CXX would conflict with the gcc/binutils
targets for buildroot. This should be no longer the case. 
It was suggested some time ago that Gentoo users must unset the env
before building those targets.
From your shell. 
echo $CC ; # <- if set then be sure to 
unset CC ; unset CXX ; # before building with buildroot.

This should be fixed with the recent ~arch gcc-config

> Karsten
-- 
Ned Ludd <solar at gentoo.org>
Gentoo (hardened,security,infrastructure,embedded) Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20041118/e89355d8/attachment-0002.pgp 


More information about the uClibc mailing list