Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-embedded@g.o>
From: Christopher Harvey <chris@...>
Subject: adding external toolchain to crossdev
Date: Tue, 06 Dec 2011 09:03:32 -0600
I'm trying to use the codesourcery toolchain in an emerge/crossdev 
environment. The toolchain prefix is arm-none-linux-gnueabi.

I decided to try to manually create the emerge wrappers that crossdev 
would. I made the following files:
   # ls -l /usr/bin/arm-none-linux-gnueabi-emerge
     lrwxrwxrwx 1 root root 12 Dec  5 17:32 
/usr/bin/arm-none-linux-gnueabi-emerge -> cross-emerge

   # cat /usr/arm-none-linux-gnueabi/etc/portage/make.conf
     CHOST=arm-none-linux-gnueabi
     CBUILD=x86_64-pc-linux-gnu
     ARCH=arm

     HOSTCC=x86_64-pc-linux-gnu-gcc
     E_MACHINE=EM_ARM

     ROOT=/usr/${CHOST}/

     ACCEPT_KEYWORDS="arm ~arm"
       [...snip...]

   # ls -l /usr/arm-none-linux-gnueabi/etc/make.profile
     lrwxrwxrwx 1 root root 59 Dec  2 15:52 
/usr/arm-none-linux-gnueabi/etc/make.profile -> 
/usr/portage/profiles/default/linux/arm/10.0/armv7a/server/

running arm-none-linux-gnueabi-emerge --info says that 
CHOST="arm-none-linux-gnueabi" yet for some reason packages I emerge get 
built with the system gcc. If anybody knows of any steps I may have 
missed to get this toolchain working properly please let me know.

thanks.


Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
crossdev & multilib
Next by thread:
How to use EXTRA_ECONF with crossdev
Previous by date:
Re: crossdev & multilib
Next by date:
How to use EXTRA_ECONF with crossdev


Updated Jun 25, 2012

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.