gagern n00b
Joined: 26 Nov 2003 Posts: 54
|
Posted: Tue Mar 03, 2009 10:19 am Post subject: crossdev targeting darwin |
|
|
I think it would be great if Gentoo users could use crossdev in order to compile sources for apple darwin targets. Preferrably the resulting compiler should support fat (i.e. universal) binaries, which run on ppc, i386 and x86_64, but even a cross toolchain for a single target would be great. One possible application would be to provide java native (JNI) code for a multitude of platforms, while keeping the build process on a single (Gentoo) system.
I read somewhere that while gcc itself supports the required targets, Gnu binutils does not. So one would probably either have to improve/patch binutils, or use tools provided by Apple. It seems that many of the tools involved in building darwin are available from http://www.opensource.apple.com/darwinsource/, so using those might be possible, given enough hacking.
In the long run, I might end up writing the required ebuilds and pushing them towards the Gentoo developers. In the short run, however, I'm more interested in gathering information and fellow developers. So if you know about any cross-toolchain HowTo targeting Darwin, or any previous or current attempt to teach crossdev how to target darwin, or any other information useful to the cause, let me know here. If you are interested in progress, monitor this thread. If you want to help, state this below. |
|