| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | Re: cross-compiler for mips (r5432) |
| From: | Kumba12345@aol.com |
| Date: | Wed, 9 Apr 2003 04:30:04 EDT |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
|
Not sure if this will help any, but this configuration helped me build a sparc -> mips cross compiler using glibc 2.3.2, gcc 3.2.2, and binutils 2.13.90.0.16. Works fine so far, I've built kernels with it and had no issues yet. Although, I do not claim to be an expert in the field of cross-compiling -- it seems to be almost an artform. //------------------ export myARCH=mips-unknown-linux-gnu export myHOST=sparc-unknown-linux-gnu export myDEST=/home/crossdev/mips binutils: ../configure --target=${myARCH} --host=${myHOST} --prefix=${myDEST} --enable-shared --enable-64-bit-bfd && make gcc-bootstrap: ../configure --prefix=${myDEST} --target=${myARCH} --host=${myHOST} --with-newlib --without-headers --disable-shared --disable-threads --enable-languages=c --disable-multilib && make glibc: CC="${myARCH}-gcc" CFLAGS="-O2 -mips2" ../configure --prefix=${myDEST} --host=${myARCH} --build=${myHOST} --without-tls --without-__thread --enable-add-_ons_=linuxthreads --enable-kernel=2.4.0 --with-gd=no --without-cvs --disable-profile --with-headers="${myDEST}/include" && make -j2 gcc-full ../configure --prefix=${myDEST} --target=${myARCH} --host=${myHOST} --disable-multilib --enable-shared --enable-languages="c,c++,ada,f77,objc" --enable-nls --without-included-gettext --with-system-zlib --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-local-prefix=${prefix}/local --with-libs="${myDEST}/lib" --with-headers="${myDEST}/${myARCH}/include" && make -j2 //------------------ --Kumba In a message dated 4/9/2003 02:19:18 Eastern Daylight Time, madhavis@sasken.com writes: Hi |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Aliasing in pgtable-bits.h (CONFIG_64BIT_PHYS_ADDR), Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: pci graphics card for malta running linux, Alan Cox |
| Previous by Thread: | Re: cross-compiler for mips (r5432), Ralf Baechle |
| Next by Thread: | Problem in pci-bridge or NIC driver..?, ashish anand |
| Indexes: | [Date] [Thread] [Top] [All Lists] |