* cross-compiler for mips (r5432)
@ 2003-04-09 6:17 Madhavi
2003-04-09 6:17 ` Madhavi
2003-04-09 13:54 ` Ralf Baechle
0 siblings, 2 replies; 4+ messages in thread
From: Madhavi @ 2003-04-09 6:17 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: TEXT/PLAIN, Size: 828 bytes --]
Hi
I want to install a cross-compiler for MIPS(R5432 CPU) on an i686 host.
Since R4000 is compatible with R5432, I am using "mips3" as the target.
binutils-2.13 and I phase compilation of gcc-3.2 happened without any
problems. But, glibc-2.2.5 is giving many compilation problems. This is
how I configured glibc:
configure --build=i686-linux --host=mips3el-linux --enable-add-ons
--prefix=/usr.
Could someone guide me on this or give me some pointers for installation?
Is the target option "mips3" the right choice for R5432?
Thank you in advance.
regards
Madhavi.
Madhavi Suram
Software Engineer
Customer Delivery / Networks
Sasken Communication Technologies Limited
139/25, Ring Road, Domlur
Bangalore - 560071 India
Email: madhavis@sasken.com
Tel: + 91 80 5355501 Extn: 8062
Fax: + 91 80 5351133
URL: www.sasken.com
[-- Attachment #2: Type: text/plain, Size: 891 bytes --]
************************************************************************
SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken accepts no liability for any loss or damage, which may be caused by viruses.
***********************************************************************
^ permalink raw reply [flat|nested] 4+ messages in thread* cross-compiler for mips (r5432)
2003-04-09 6:17 cross-compiler for mips (r5432) Madhavi
@ 2003-04-09 6:17 ` Madhavi
2003-04-09 13:54 ` Ralf Baechle
1 sibling, 0 replies; 4+ messages in thread
From: Madhavi @ 2003-04-09 6:17 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: TEXT/PLAIN, Size: 828 bytes --]
Hi
I want to install a cross-compiler for MIPS(R5432 CPU) on an i686 host.
Since R4000 is compatible with R5432, I am using "mips3" as the target.
binutils-2.13 and I phase compilation of gcc-3.2 happened without any
problems. But, glibc-2.2.5 is giving many compilation problems. This is
how I configured glibc:
configure --build=i686-linux --host=mips3el-linux --enable-add-ons
--prefix=/usr.
Could someone guide me on this or give me some pointers for installation?
Is the target option "mips3" the right choice for R5432?
Thank you in advance.
regards
Madhavi.
Madhavi Suram
Software Engineer
Customer Delivery / Networks
Sasken Communication Technologies Limited
139/25, Ring Road, Domlur
Bangalore - 560071 India
Email: madhavis@sasken.com
Tel: + 91 80 5355501 Extn: 8062
Fax: + 91 80 5351133
URL: www.sasken.com
[-- Attachment #2: Type: text/plain, Size: 891 bytes --]
************************************************************************
SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken accepts no liability for any loss or damage, which may be caused by viruses.
***********************************************************************
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: cross-compiler for mips (r5432)
2003-04-09 6:17 cross-compiler for mips (r5432) Madhavi
2003-04-09 6:17 ` Madhavi
@ 2003-04-09 13:54 ` Ralf Baechle
1 sibling, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2003-04-09 13:54 UTC (permalink / raw)
To: Madhavi; +Cc: linux-mips
On Wed, Apr 09, 2003 at 11:47:51AM +0530, Madhavi wrote:
> I want to install a cross-compiler for MIPS(R5432 CPU) on an i686 host.
> Since R4000 is compatible with R5432, I am using "mips3" as the target.
> binutils-2.13 and I phase compilation of gcc-3.2 happened without any
> problems. But, glibc-2.2.5 is giving many compilation problems. This is
> how I configured glibc:
>
> configure --build=i686-linux --host=mips3el-linux --enable-add-ons
> --prefix=/usr.
>
> Could someone guide me on this or give me some pointers for installation?
> Is the target option "mips3" the right choice for R5432?
Never. Use mipsel-linux for your box.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: cross-compiler for mips (r5432)
@ 2003-04-09 8:30 Kumba12345
0 siblings, 0 replies; 4+ messages in thread
From: Kumba12345 @ 2003-04-09 8:30 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 2622 bytes --]
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
>
> I want to install a cross-compiler for MIPS(R5432 CPU) on an i686 host.
> Since R4000 is compatible with R5432, I am using "mips3" as the target.
> binutils-2.13 and I phase compilation of gcc-3.2 happened without any
> problems. But, glibc-2.2.5 is giving many compilation problems. This is
> how I configured glibc:
>
> configure --build=i686-linux --host=mips3el-linux --enable-add-ons
> --prefix=/usr.
>
> Could someone guide me on this or give me some pointers for installation?
> Is the target option "mips3" the right choice for R5432?
>
> Thank you in advance.
>
> regards
> Madhavi.
>
> Madhavi Suram
> Software Engineer
> Customer Delivery / Networks
> Sasken Communication Technologies Limited
> 139/25, Ring Road, Domlur
> Bangalore - 560071 India
> Email: madhavis@sasken.com
> Tel: + 91 80 5355501 Extn: 8062
> Fax: + 91 80 5351133
> URL: www.sasken.com
>
[-- Attachment #2: Type: text/html, Size: 3086 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-09 13:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09 6:17 cross-compiler for mips (r5432) Madhavi
2003-04-09 6:17 ` Madhavi
2003-04-09 13:54 ` Ralf Baechle
-- strict thread matches above, loose matches on Subject: below --
2003-04-09 8:30 Kumba12345
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox