Mac OS X makes it easy to develop applications then deploy them to other flavors of UNIX. This article discusses tools and techniques for developing code on Mac OS X for deploying on other UNIX platforms.
Mac OS X makes it easy to develop applications then deploy them to other flavors of UNIX. This article discusses tools and techniques for developing code on Mac OS X for deploying on other UNIX platforms.
Nice article. I really love how OS X combines best of both open-source and commercial worlds. The only thing this article needs is a section on getting cvs/subversion etc. working. That will complete a developer’s arsenal.
What debugging programs does OS X have compared to DDD,gdb etc?Does it have its own Assembly Language compiler such as
nasm?Or do i have to compile a lot from source?
gdb is the default debugger for XCode, so debugging on a Mac is exactly the same as with gdb.
From the apple website
“Xcode is Apple’s tool suite and integrated development environment (IDE) for creating Mac OS X software. The IDE provides a powerful user interface to many industry-standard and open-source tools, including GCC, javac, jikes, and GDB“
You can install most X11 interfaces to gdb as well. I’ve got DDD installed via fink.
Subversion on Mac was recently discussed at Oreilly
I love OS X
http://www.macdevcenter.com/pub/a/mac/2004/08/10/subversion.html
but Apple does have this info:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/…
Install Fink and get all the usual UNIX/Linux/*BSD bits Apple left out; it’s an excellent addition to any OS X system.
– chrish
a mac thread without trolls? isn’t he awake yet?
i’ve been using CVS on osx for years, just google for the info as it’s readily available on the net. i see the subversion links have already been provided.
in the early days of Doom, Carmack et al developed all their stuff on OS X (then called NextStep with various permutations of capitalization) and then optimized on the target platforms. he cited the development environment and the support tools available.
Use GNUstep:
http://www.gnustep.org
A Cocoa application can be ported to Unix easily and natively.
You get what you pay for, and OSX is well worth the price.
I was always confused with all those ./configure style installations. I had linux for 2 years, then switched to OS X, and at work I’m using cygwin under XP, and some time I had to go through the pain of “./configure”. Now why pain – well it works most of the time, but once it starts complaining of “libtool” missing, or some environment variable not set – I’m getting pretty frustrated.
Then why a configure script is 900kb?!? Who wrote it? And it’s un-understandable piece of shell-code. Isn’t there simpler way, really?
Could someone really point to me sites, doing comparison or some history of configure, and why it has developed that way.
Another problem I have, is say I’m using xcode or Visual Studio to do some project. I’m using the regular .sln, or .xcode projects, and then I would like that stuff to be “configure”-ed. How that’s done? I know there is a book, but it’s a huge piece of book really to get the things working, just to support one extra platform. Any shorter way?
What is your experience with configure for example? Are you using it?
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_mono…
configure’s main strength is to adapt the compilation to diffrent operating systems.
There is a compiler option you can pass to GCC (even through the XCode interface) that allows for CodeWarrior style inline-assembly code. Example:
__asm {
;assembly code here
;I think you can even reference your C variables here too
}
Instead of the awkward way GCC normally handles inline-asm.
See the bottom of this page: http://developer.apple.com/tools/switchtoxcode.html
GNUstep’s makefiles are a very elegant alternative to configure.. you only define some useful stuff like the name of your application/tool/lib/whatever, the files it has to compile, etc, and the gnustep makefile system takes care of it all, so that it works on any system where gnustep is built correctly
Your post has absolutely nothing to do with the topic. Refrain from trolling. Try to show a little self discipline.