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

Karsten Kruse tecneeq at tecneeq.de
Thu Nov 18 21:31:27 UTC 2004


On Thu, 18 Nov 2004, Ned Ludd 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.

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

Thanks, that did it.

Karsten Kruse

-- 
         Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
   ()    Linux/NetBSD-Anleitungen, Forum  und Chat: www.newbie-net.de
  <\/>
  _/\_   Debian - Yesterday's technology ... tomorrow.



More information about the uClibc mailing list