Cross compile
by abc · in General Discussion · 04/13/2004 (8:37 am) · 8 replies
Hi!
Anyone who knows if there is possible to cross compile from linux to mac os x?
I can cross compile from linux to windows, but I've never seen anything about from linux to mac.
Anyone who knows if there is possible to cross compile from linux to mac os x?
I can cross compile from linux to windows, but I've never seen anything about from linux to mac.
About the author
#2
04/13/2004 (10:04 am)
Okay, thanks for your reply anyway.
#3
04/13/2004 (10:43 am)
When your configuaring instead of linux choose mac
#4
So configuring gcc with target=something-mac should do it?
(no I don't know what the target name is for a mac)
04/13/2004 (10:46 am)
Is is that simple?So configuring gcc with target=something-mac should do it?
(no I don't know what the target name is for a mac)
#5
It's a lot more complicated than just changing the config :)
04/13/2004 (10:55 am)
Nope. You need to have a cross compile build of gcc, that does MacOS X mach-o executables while running in Linux, plus all the headers/libs for MacOS X on your linux box, or at least access to them through a share on a MacOS X box.It's a lot more complicated than just changing the config :)
#6
And yes ofcourse, I need headers and libraries from macos x too.
04/13/2004 (12:19 pm)
Yeah, I meant when I'm (./) configuring gcc (just like I do when I create a cross compiler for windows).And yes ofcourse, I need headers and libraries from macos x too.
#7
Of course, your best bet is to ask about crosscompiling in gcc oriented forums, as well as Darwin oriented forums, since it also runs on PCs (limited support iirc), and I wouldn't be surprised if people do crosscompiling there.
I don't know of any dedicated resource on crosscompiling to MacOS X, sorry
All important link for Apple Dev stuff :
developer.apple.com
And a collection of gcc cross compiling resources links :
is.rice.edu/~welsh/cross-compiler/Cross-Compiling-bookmarks.html
04/13/2004 (2:27 pm)
Oh, I thought you meant compiling TGE :)Of course, your best bet is to ask about crosscompiling in gcc oriented forums, as well as Darwin oriented forums, since it also runs on PCs (limited support iirc), and I wouldn't be surprised if people do crosscompiling there.
I don't know of any dedicated resource on crosscompiling to MacOS X, sorry
All important link for Apple Dev stuff :
developer.apple.com
And a collection of gcc cross compiling resources links :
is.rice.edu/~welsh/cross-compiler/Cross-Compiling-bookmarks.html
Associate Kyle Carter