I have no idea about your particular platform, but I've done something
similar by creating a cross compiler for the PS2 Linux kit. What you need
to do is build gcc and binutils with --target=xscale-elf using the headers
and lib files from the xscale linux install (which I believe you can find
on openzaurus.org). Once you have those 2 packages built, then link to
them in your makefile as opposed to the system-default (i.e. something
like CCC=/usr/local/xscale/bin/gcc instead of just CCC=gcc). If you do a
google for "cross compiler xscale", there are several mailing list
postings where people have tried to do just this (and fixes for the
problems they encountered).
On Fri, 7 Nov 2003, W.K. Vladmir Ward wrote:
> Greetings all
> A couple of issues have recently been bothering me,
> one of which is the process of compiling on a machine
> for a different architechture and/or kernel version.
> I'd like to compile (using my i8200) the lirc modules
> for use in my Sharp Zaurus 5600 -- modules for the
> 5000 and 5500 are available, but do not work on my
> I figured I would compile them myself, BUT I have no
> idea how to specify the X-Scale CPU as the target
> arch, nor how to (if I even can, or if it matters)
> specify the kernel version for which it will be
> compiled. If someone could give me a couple of
> pointers, or show me to a good howto, or something,
> I'd be quite grateful.
> Thanks in advance
> Sing me a song, you're a singerDo me a wrong, you're a bringer of evilThe devil is never a makerThe less that you give, you're a takerSo it's on and on and on, it's heaven and hellOh well"Heavan and Hell" - Black Sabbath
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> Please post your X config files in the group links or database
> To unsubscribe, email: email@example.com
> FAQ: http://www.whacked.net/ldl/faq
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/