public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] Building Crosscompiler for Embedded System
@ 2006-03-06  9:35 Lutz Schönemann
  2006-03-06 14:16 ` Mike Frysinger
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Lutz Schönemann @ 2006-03-06  9:35 UTC (permalink / raw
  To: gentoo-embedded

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-03-08  5:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-03-08  5:31   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox