public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stanisław Raczyński" <sraczynski@op.pl>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Building Crosscompiler for Embedded System
Date: Tue, 07 Mar 2006 17:27:57 +0100	[thread overview]
Message-ID: <440DB48D.9080906@op.pl> (raw)
In-Reply-To: <440C024E.8000608@sit.fraunhofer.de>

You might want to read a small howto I've created as documentation to my 
group project at a university 
(http://www.eti.pg.gda.pl/katedry/ksa/pracownicy/Stanislaw.Raczynski//embedded_gentoo_on_kb92xx_howto.pdf), 
sections 2, 3 and appendices. Perhaps it will give you some ideas. 
Beware though, it is incomplete and a bit chaotic.

Best wishes,
Stanislaw Raczynski

Lutz Schönemann 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.
>
> - Building toolchain manually:
> I tried to build a crosscompile-toolchain manually following this HOWTO:
> http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO
> I have done every step and no errors until step 5. The merge process 
> terminated with this message:
>
> grep: ${top_srcdir}/../gcc/version.c: No such file or directory
> /usr/i386-unknown-linux-gnu/bin/ld: crt1.o: No such file: No such file 
> or directory
> collect2: ld returned 1 exit status
> configure: error: unknown endianess - sorry
>
> All the Warnings/Errors I have pasted at: 
> http://nopaste.easy-coding.de/?id=404
>
>
> Thanks for help
>
> Lutz Schönemann
>

-- 
gentoo-embedded@gentoo.org mailing list



  parent reply	other threads:[~2006-03-07 16:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06  9:35 [gentoo-embedded] Building Crosscompiler for Embedded System Lutz Schönemann
2006-03-06 14:16 ` Mike Frysinger
2006-03-06 14:43   ` Lutz Schönemann
2006-03-06 14:50     ` Mike Frysinger
2006-03-06 19:14 ` Kevin F. Quinn (Gentoo)
2006-03-07 12:42   ` Lutz Schönemann
2006-03-07 16:27 ` Stanisław Raczyński [this message]
2006-03-08  5:31   ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=440DB48D.9080906@op.pl \
    --to=sraczynski@op.pl \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox