From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FGf3o-0006Q4-Tf for garchives@archives.gentoo.org; Tue, 07 Mar 2006 16:29:21 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k27GScFC003297; Tue, 7 Mar 2006 16:28:38 GMT Received: from smtp8.poczta.onet.pl (smtp8.poczta.onet.pl [213.180.130.48]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k27GScOl015190 for ; Tue, 7 Mar 2006 16:28:38 GMT Received: from acrt167.neoplus.adsl.tpnet.pl ([83.11.21.167]:39349 "EHLO [192.168.0.21]") by ps8.test.onet.pl with ESMTP id ; Tue, 7 Mar 2006 17:28:02 +0100 Message-ID: <440DB48D.9080906@op.pl> Date: Tue, 07 Mar 2006 17:27:57 +0100 From: =?UTF-8?B?U3RhbmlzxYJhdyBSYWN6ecWEc2tp?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Building Crosscompiler for Embedded System References: <440C024E.8000608@sit.fraunhofer.de> In-Reply-To: <440C024E.8000608@sit.fraunhofer.de> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k27GScG0003297 X-Archives-Salt: 6d8cc869-de85-4edb-b042-cebab58b50f0 X-Archives-Hash: 88ea3d4335de895f6d15a6a654beaabd You might want to read a small howto I've created as documentation to my=20 group project at a university=20 (http://www.eti.pg.gda.pl/katedry/ksa/pracownicy/Stanislaw.Raczynski//emb= edded_gentoo_on_kb92xx_howto.pdf),=20 sections 2, 3 and appendices. Perhaps it will give you some ideas.=20 Beware though, it is incomplete and a bit chaotic. Best wishes, Stanislaw Raczynski Lutz Sch=C3=B6nemann wrote: > Hi, > I've problems building an working Cross-Compiler to use it for an i386=20 > embedded system. Until now I've tried the following two things: > > - Using crossdev: > The crossdev script worked fine and installed the whole toolchain=20 > (stage4: binutils, gcc, linux-headers, etc.). The trouble is that when=20 > I want to merge a packege with this compiler (e.g.:=20 > CFLAGS=3D"-arch=3Di386" ROOT=3D/tmp/cross/ CHOST=3Di386-unknown-linux-g= nu=20 > emerge sys-boot/syslinux) it ends up with the message that the=20 > 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=20 > 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=20 > or directory > collect2: ld returned 1 exit status > configure: error: unknown endianess - sorry > > All the Warnings/Errors I have pasted at:=20 > http://nopaste.easy-coding.de/?id=3D404 > > > Thanks for help > > Lutz Sch=C3=B6nemann > --=20 gentoo-embedded@gentoo.org mailing list