linux-mips
[Top] [All Lists]

Re: Q: (cross)compiling for the Meshcube (fwd)

To: linux-mips@linux-mips.org, dev-list@meshcube.org
Subject: Re: Q: (cross)compiling for the Meshcube (fwd)
From: Bruno Randolf <bruno.randolf@4g-systems.biz>
Date: Fri, 23 Jul 2004 12:41:16 +0200
Cc: Ralf Ackermann <rac@KOM.tu-darmstadt.de>
In-reply-to: <Pine.LNX.4.58.0407221756020.4845@shofar.kom.e-technik.tu-darmstadt.de>
Organization: 4G Systems
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.58.0407221756020.4845@shofar.kom.e-technik.tu-darmstadt.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.6.2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi!

we use crosstool from http://www.kegel.com/crosstool/ to create a cross 
toolchain. it is also part of our build system, we have at 
http://www.meshcube.org/ in the CVS. if you check it out, you can cd into the 
build/ directory and "make toolchain". the cross prefix is then 
mipsel-mtx-linux-gnu-.

greetings,
bruno



On Thursday 22 July 2004 17:56, Ralf Ackermann wrote:
> Hello,
>
> I'm trying to (cross)compile some more modules/applications for the
> meshcube - but failed so far.
>
> I installed (on an i386 system):
>       binutils-mipsel-linux-2.13.2.1-3.i386.rpm
>       gcc-mipsel-linux-2.95.4-1.i386.rpm
> (from ftp://ftp.linux-mips.org/pub/linux/mips/crossdev/)
>
> Making a hello world program fails with:
>       mipsel-linux-gcc hello.c -o hello
>       /usr/mipsel-linux/bin/ld: cannot open crt1.o: No such file or directory
>       collect2: ld returned 1 exit status
>
> My questions:
>  - Are there any specific hints for the cross-compile environment
>       (or: "What are you using ... and would therefore suggest ?)
>  - Is there any chance to use a native gcc on the cube itself?
>       (could this e.g. been done by chrooting into a (which?)
>       existing MIPS Linux distribution that is mounted via NFS)
>
> Any hints are highly appreciated (I have worked with crosscompile/native
> environments for ARM so far, but these are my first experiences in the
> MIPS world).
>
> regards
>  Ralf
>
> ---------------------------------------------------------------
> Dr. Ralf Ackermann            _         rac@KOM.tu-darmstadt.de
> Multimedia Communications |/ | | |\/|           Merckstrasse 25
>
>                           |\ |_| |  |  64283 Darmstadt, Germany
>
> Tel.: (+49) 6151 16-6138                Fax: (+49) 6151 16-6152
> ---------------------------------------------------------------
>              http://www.kom.tu-darmstadt.de/~rac
> ---------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBAOtMfg2jtUL97G4RAqaVAJkBIcsWlDTyGUr4Py9AsL/3+lWxIQCffaLI
2H+9w74+YH2YkZbK4KJ4zwQ=
=7PWO
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>