This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS(el) Toolchain


Bryan Althouse wrote:
I have it working! On a hunch, I put Fedora Core 2 on an old PC and used
that to build my tool chain. This actually worked! There is something
broken with Fedora Core 3.

FC3 uses gcc-3.4, for what it's worth. Did switching to FC2 solve a toolchain build problem, or did the resulting toolchain just work better?

My next step is to build the necessary libraries, etc, for my multi arch
mips. I'm expecting to end up with a lib directory for -mabi=32, a libn32
directory for -mabi=n32, and a lib64 directory for -mabi=64. Could you
point me in the write direction for using crosstool to accomplish this?

Well... I did multilib stuff back three or four years ago for ppc405 (http://www.kegel.com/xgcc3/gcc-20020722-ppc405erratum77.patch) It's a bit involved. Plus, for each CPU type, you need to build a new glibc. I haven't ever gotten around to scripting that.

You might need to dive in to grok multilibbing.  A few
random starting points for learning might be
http://www.linux-mips.org/archives/linux-mips/2005-06/msg00045.html
http://ftp.ussg.iu.edu/linux/gentoo-rsync/eclass/toolchain.eclass

Good luck!
- Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]