- Joined
- Apr 23, 2009
- Messages
- 3
- Reaction score
- 0
- Points
- 1
Greetings -
I'm a Linux user who has been asked by a small but growing (and typically vocal) group of Mac users to compile a particular technical application I help maintain (mathematical statistics) so it will run under OS X. I don't have access to a Mac (out of the 100+ machines in my department, there are zero Macs...), so I'm looking to see if its possible to flip the right compiler flags (gcc all the way) to compile for Intel-based Macs running OS X. In other words, compile for Intel CPU (-march intel) under Linux, and send the binary to someone to run under OS X. I can do this for Windows, but this is the first time I've had a Mac user make the request. I've poked around a bit, and all I've found is how to do the port/compile *on* a Mac. I don't have that situation. I have a Linux box (many, in fact), and need to comiple a OS X-compatible binary on it. I rather assume its doable, if I statically compile libs into the binary, but I was wondering if there are other things (Mac-specific) I need to consider. Note: this is a 'real' technical application - command line, no GUI, no nothing. So, no issues about Gnome or KDE libs and such.
Apologies if this should go in another section of the forum, but this was my first best guess.
I'm a Linux user who has been asked by a small but growing (and typically vocal) group of Mac users to compile a particular technical application I help maintain (mathematical statistics) so it will run under OS X. I don't have access to a Mac (out of the 100+ machines in my department, there are zero Macs...), so I'm looking to see if its possible to flip the right compiler flags (gcc all the way) to compile for Intel-based Macs running OS X. In other words, compile for Intel CPU (-march intel) under Linux, and send the binary to someone to run under OS X. I can do this for Windows, but this is the first time I've had a Mac user make the request. I've poked around a bit, and all I've found is how to do the port/compile *on* a Mac. I don't have that situation. I have a Linux box (many, in fact), and need to comiple a OS X-compatible binary on it. I rather assume its doable, if I statically compile libs into the binary, but I was wondering if there are other things (Mac-specific) I need to consider. Note: this is a 'real' technical application - command line, no GUI, no nothing. So, no issues about Gnome or KDE libs and such.
Apologies if this should go in another section of the forum, but this was my first best guess.