Skip to contentSkip to conversation

HOWTO Cross devel system

DISCUSSION Shaun 1 participant 1 message Oct 18, 2003 MIPS

lore
Share & tools
lore

Shaun

author
#0 lore raw

Hi All

I now can create a cross devel environment for the mipsel-linux platform. This means that every one could have one with not many surprises :) from ftp://ftp.mips.com/pub/tools/software/sde-for-linux/sdelinux-5.02.02-1.i386.rpm
or for a newer version
ftp://ftp.ds2.pg.gda.pl/pub/macro/RPMS/i386/ (binutils and gcc)

with that, you need a glibc
from
ftp://ftp.ds2.pg.gda.pl/pub/macro/RPMS/mipsel
get glibc, glibc-libs, glibc-devel and any other packages you want This packages are mipsel native code
to extract the files you need to convert them to cpio then use cpio

Quoted 2 lines

rpm2cpio file >outfile
cpio -i --make-directories <outfile

install the files in the directory /usr/local/mipsel-linux/ ( bin, lib, include)
edit $()/mipsel-linux/lib/libc.so yes a text file
add the prefix /usr/local/mipsel-linux to the paths, you will see what I mean when you see the file

test compile hello world

I still need to test the execution on the "eb"

This will now allow us to document the tool chain. to create consistent development program.

To get NFS working, "portmap" and "mount" need to support nfs. I am checking busybox-1.0rc3 to see how to configure it to support nfs.

Signature · 10 lines
Shaun Savage
Linux Engineer,
RedCellX
333 SW 5th Ave
Portland, OR 97204
503-295-9680


 ****CONFIDENTIALITY NOTICE**** This e-mail message is confidential and 
may be privileged.  THIS EMAIL MAY NOT BE SHARED WITH ANY OTHER PERSON BUT THE RECEIVER.  If you believe that this e-mail has been sent to you in error please:  (1) notify the sender; and (2) delete this e-mail. Thank you.  Disclaimer of Electronic Transaction:  This communication does not reflect an intention by the sender or the sender's client to conduct a transaction or make any agreement by electronic means. Nothing contained herein shall constitute an electronic signature or a contract under any law, rule or regulation applicable to electronic transactions.