Gentoo Archives: gentoo-embedded

From: "Stanisław Raczyński" <sraczynski@××.pl>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Building Crosscompiler for Embedded System
Date: Tue, 07 Mar 2006 16:29:21
Message-Id: 440DB48D.9080906@op.pl
In Reply to: [gentoo-embedded] Building Crosscompiler for Embedded System by "Lutz Schönemann"
1 You might want to read a small howto I've created as documentation to my
2 group project at a university
3 (http://www.eti.pg.gda.pl/katedry/ksa/pracownicy/Stanislaw.Raczynski//embedded_gentoo_on_kb92xx_howto.pdf),
4 sections 2, 3 and appendices. Perhaps it will give you some ideas.
5 Beware though, it is incomplete and a bit chaotic.
6
7 Best wishes,
8 Stanislaw Raczynski
9
10 Lutz Schönemann wrote:
11
12 > Hi,
13 > I've problems building an working Cross-Compiler to use it for an i386
14 > embedded system. Until now I've tried the following two things:
15 >
16 > - Using crossdev:
17 > The crossdev script worked fine and installed the whole toolchain
18 > (stage4: binutils, gcc, linux-headers, etc.). The trouble is that when
19 > I want to merge a packege with this compiler (e.g.:
20 > CFLAGS="-arch=i386" ROOT=/tmp/cross/ CHOST=i386-unknown-linux-gnu
21 > emerge sys-boot/syslinux) it ends up with the message that the
22 > compiler is unable to build executables.
23 >
24 > - Building toolchain manually:
25 > I tried to build a crosscompile-toolchain manually following this HOWTO:
26 > http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO
27 > I have done every step and no errors until step 5. The merge process
28 > terminated with this message:
29 >
30 > grep: ${top_srcdir}/../gcc/version.c: No such file or directory
31 > /usr/i386-unknown-linux-gnu/bin/ld: crt1.o: No such file: No such file
32 > or directory
33 > collect2: ld returned 1 exit status
34 > configure: error: unknown endianess - sorry
35 >
36 > All the Warnings/Errors I have pasted at:
37 > http://nopaste.easy-coding.de/?id=404
38 >
39 >
40 > Thanks for help
41 >
42 > Lutz Schönemann
43 >
44
45 --
46 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Building Crosscompiler for Embedded System Mike Frysinger <vapier@g.o>