Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
crossdev targeting darwin
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message

Joined: 26 Nov 2003
Posts: 49

PostPosted: Tue Mar 03, 2009 10:19 am    Post subject: crossdev targeting darwin Reply with quote

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, 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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum