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: crosscompiler tool chain from i386-linux to powerpc-apple andothers


Hi Ricardo,

regarding powerpc-apple-darwin, you're out of luck.
Both Apple's linker and assembler are essentially
unbuildable on non-darwin platforms (or were as of
about two months ago). Until they merge these with
binutils, it will be impossible to cross-compile to
darwin.

Both Solaris and FreeBSD _should_ be possible. The
basic issue is libraries and headers. I managed to
build a Sparc solaris cross-compiler this morning, but
it requires some tweaks. Check GCC bug 11890 for some
ideas (http://gcc.gnu.org/PR11890). I have a sort-of
howto at
http://www.myownlittleworld.com/computers/solaris-cross.html
that may be some use.

Theoretically x86/Solaris should be the same, but I
haven't tried. FreeBSD should be possible with
crosstools, since a FreeBSD/glibc port does exist, but
it'd probably be easier to just grab the libraries and
headers prebuilt from freebsd's ftp.

Hope that helps,

Dara

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

------
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]