Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Compiler for OSX?

Compiler for OSX?
Thread Tools
Fresh-Faced Recruit
Join Date: Sep 2004
Location: Berkeley, CA
Status: Offline
Reply With Quote
Sep 9, 2004, 05:52 PM
 
Hey there, I am new here to MacOSX, coming from a Windows and FreeBSD background. I want to compile some of my *BSD and X11 apps however it seems like I don't have a compiler on OSX. Where can I get one? Is there a Apple dev kit or something? Thanks.
DEC Alpha, world's first 64-bit system.
macnn.com's FreeBSD advocate.
     
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status: Offline
Reply With Quote
Sep 9, 2004, 06:30 PM
 
Yep. If you bought the boxed set, its on the XCode CD. If it came preinstalled, check under /Applications/installers for the developer package. Otherwise go to http://connect.apple.com and register for a free account, where you can download the tools.

Whatever you do, make sure you install the X11SDK. A lot of people miss that.
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
     
Mac Elite
Join Date: Jun 2001
Location: Dundee, Scotland
Status: Offline
Reply With Quote
Sep 10, 2004, 12:16 PM
 
If you have dificulty in porting them you may want to look into Fink or similar which give a more standard layout to libraries etc.
     
Fresh-Faced Recruit
Join Date: Sep 2004
Location: Berkeley, CA
Status: Offline
Reply With Quote
Sep 10, 2004, 01:34 PM
 
Originally posted by sambeau:
If you have dificulty in porting them you may want to look into Fink or similar which give a more standard layout to libraries etc.
Thanks, porting is not an issue for me (been using FreeBSD for over 5 years) but finding a compiler is the issue. Since I am a new mac user again, does the compiling from a tarball source work the same way as standard *nix compiles? ie ./configure ; make ; make install?

Also is there a site where people have taken open source software and make native OSX binaries? an archived site would bee sweet. Once more thing, is there a site that you know of where is shows how to use OSX for unix newbie (compiling, directories, etc) I would like to read up on how Apple implemented thier version of *nix and what makes it different. I am pretty well versed in *nix but like I said I want to see how Apple did thier version. Thanks.


edit: once I get X11 and rxvt installed, I'll be in heaven.
DEC Alpha, world's first 64-bit system.
macnn.com's FreeBSD advocate.
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Sep 10, 2004, 02:34 PM
 
Originally posted by d0g_p00p:
Thanks, porting is not an issue for me (been using FreeBSD for over 5 years) but finding a compiler is the issue. Since I am a new mac user again, does the compiling from a tarball source work the same way as standard *nix compiles? ie ./configure ; make ; make install?
There is a *BSD derived layer to MacOS X... so things will feel every familiar (with Apple's/NeXT's twists). Yes... configure...make...make install is common for ported applications.


Also is there a site where people have taken open source software and make native OSX binaries? an archived site would bee sweet.
Once again... look at fink... it is a complete library of both ports and packages (binaries) all with nice GUI front-ends that make things even easier than FreeBSD /usr/ports.

Once more thing, is there a site that you know of where is shows how to use OSX for unix newbie (compiling, directories, etc) I would like to read up on how Apple implemented thier version of *nix and what makes it different. I am pretty well versed in *nix but like I said I want to see how Apple did thier version. Thanks.
There are lots of sites where you can find information. I would recommend browsing over at MacOS X Hints. While not dedicated to what you are looking for, there is an awful lot of that sort of hint there.
     
Mac Elite
Join Date: Jun 2001
Location: Dundee, Scotland
Status: Offline
Reply With Quote
Sep 10, 2004, 06:39 PM
 
I recommend Marc Liyanage's site - high qulity binaries with OSX installers

http://www.entropy.ch/software/macosx/welcome.html

Enjoy!

(The man's a star )
     
Mac Enthusiast
Join Date: Jul 2002
Status: Offline
Reply With Quote
Sep 10, 2004, 09:26 PM
 
See also this site with steps describing the modifications needed to port several packages on OS X:

http://homepage.mac.com/samchops/MACOSX/macosx.html
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:47 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2