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: Lutz Schönemann <lutz.schoenemann@...>
Subject: Re: Building Crosscompiler for Embedded System
Date: Tue, 07 Mar 2006 13:42:30 +0100
Oh, okay, that worked. But I'm not shure if the created code is realy 
for use with i386 CPUs. I compiled syslinux and GRUB and nothing seems 
to work on the used system (e.g. GRUB only shows up his name at power on 
and nothing more happens).

Lutz

Kevin F. Quinn (Gentoo) wrote:
> On Mon, 06 Mar 2006 10:35:10 +0100
> Lutz Schönemann <lutz.schoenemann@...> wrote:
> 
> 
>>Hi,
>>I've problems building an working Cross-Compiler to use it for an
>>i386 embedded system. Until now I've tried the following two things:
>>
>>- Using crossdev:
>>The crossdev script worked fine and installed the whole toolchain 
>>(stage4: binutils, gcc, linux-headers, etc.). The trouble is that
>>when I want to merge a packege with this compiler (e.g.:
>>CFLAGS="-arch=i386" ROOT=/tmp/cross/ CHOST=i386-unknown-linux-gnu
>>emerge sys-boot/syslinux) it ends up with the message that the
>>compiler is unable to build executables.
> 
> 
> Just in case that wasn't a typo in transcription - you need
> CFLAGS="-march=i386" (with an 'm').  You should look at the config.log
> etc to find out exactly why the compiler couldn't build executables.
> 
> BTW again just in case - if your host is an x86 system, you don't need a
> cross-compiler as your host compiler can build for all x86 variants -
> it's enough to get the CFLAGS right; e.g.
> 
> CFLAGS="-march=i386" ROOT=/tmp/cross emerge <pkg>
> 


-- 
Lutz Schönemann

Addr:	Fraunhofer Institut für Sichere Informations Technologie SIT
	Rheinstrasse 75, 64295 Darmstadt, Germany
WWW:	http://www.sit.fraunhofer.de

Zertifizierungen in der FhG: http://pki.fraunhofer.de
-- 
gentoo-embedded@g.o mailing list


References:
Building Crosscompiler for Embedded System
-- Lutz Schönemann
Re: Building Crosscompiler for Embedded System
-- Kevin F. Quinn (Gentoo)
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Building Crosscompiler for Embedded System
Next by thread:
Re: Building Crosscompiler for Embedded System
Previous by date:
Multi target cross emerge wrapper
Next by date:
Re: Building Crosscompiler for Embedded System


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

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