Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 10, 2005, 03:19 PM   #1
DaveGBR
macrumors newbie
 
Join Date: Nov 2005
A few questions

Hi there, I'm thinking about buying a Powerbook sometime in January (once my next student loan comes through and I have a bit more purchasing power!) but wanted to do a little background research first. I currently use Linux on a Dell laptop and use it mostly for programming and web stuff, I've heard a lot about Mac OS X being (sort of) UNIX based and having the familiar Terminal interface.
So, few quick questions:

- What kind of (preferably open source or freeware) development tools are there?

- Same as above but for 'classic' widely used languages such as C/C++, BASIC, Java etc

- Same again but low level and dirty, assembler type?

- My first desire would be to get a decent C compiler, is there a Mac version of gcc (or alternative)?

Also as a kind of side hobby I collect "antique" computers, Spectrums, Amigas etc that kind of thing. I've just won a Powerbook 520c on eBay (spec here) and it'd be nice to do a little programming on that as well. Bearing in mind its age and specs would it be possible to do any programming on that too (C being my langauge of choice but not limited to it)?
DaveGBR is offline   0 Reply With Quote
Old Nov 10, 2005, 03:28 PM   #2
caveman_uk
Guest
 
caveman_uk's Avatar
 
Join Date: Feb 2003
Location: Hitchin, Herts, UK
Quote:
Originally Posted by DaveGBR
- What kind of (preferably open source or freeware) development tools are there?
Yes, you can get pretty much all the development tools you want as Mac OS X is based on FreeBSD.
Quote:
- Same as above but for 'classic' widely used languages such as C/C++, BASIC, Java etc
GCC and the usual toolchain is available. Many other tools can be installed using fink.
Quote:
- Same again but low level and dirty, assembler type?
Dunno, I presume the unix tools work. Remember that MacOS X currently runs on PowerPC processors so the intel tools will be of limited use on current machines. Intel-based machines will be released next year.
Quote:
- My first desire would be to get a decent C compiler, is there a Mac version of gcc (or alternative)?
Yes
caveman_uk is offline   0 Reply With Quote
Old Nov 10, 2005, 03:29 PM   #3
jeremy.king
macrumors 603
 
jeremy.king's Avatar
 
Join Date: Jul 2002
Location: Fox Lake, IL
Quote:
Originally Posted by DaveGBR

- My first desire would be to get a decent C compiler, is there a Mac version of gcc (or alternative)?
Yeah...gcc

I am sure you will find the XCode to be right up your alley. Combine that with Terminal/vi/Eclipse and you should have more than enough tools to code all kinds of great software.
jeremy.king is offline   0 Reply With Quote
Old Nov 10, 2005, 03:43 PM   #4
DaveGBR
Thread Starter
macrumors newbie
 
Join Date: Nov 2005
Fantastic, thanks for answering my questions
DaveGBR is offline   0 Reply With Quote
Old Nov 11, 2005, 01:03 AM   #5
Selivanov
macrumors newbie
 
Join Date: Nov 2005
Location: Voronezh, Russia
Send a message via ICQ to Selivanov
Quote:
Originally Posted by DaveGBR
Fantastic, thanks for answering my questions
Hmm. MacOS X is not so *nix-like as it should be. For example, i try to compile Midnight Commander on my computer (MacOS X 10.4 Tiger). He (MC) said that he wants glib package. I try to compile glib package. It asks me for gettext library. And so on... At the end of that story i stuck on the gcc localization.
The most platform undepended thing in MacOS X is Java applications
Selivanov is offline   0 Reply With Quote
Old Nov 11, 2005, 01:24 AM   #6
balamw
Moderator
 
balamw's Avatar
 
Join Date: Aug 2005
Location: New England, USA
Quote:
Originally Posted by Selivanov
Hmm. MacOS X is not so *nix-like as it should be. For example, i try to compile Midnight Commander on my computer (MacOS X 10.4 Tiger). He (MC) said that he wants glib package. I try to compile glib package. It asks me for gettext library. And so on... At the end of that story i stuck on the gcc localization.
The most platform undepended thing in MacOS X is Java applications
You'd have the exact same problems on any other commercial unix. It's part of the unix credo of "do one thing well" that apps are often built using lots of other little libraries, which may not be standard on your distro. I remember running through similar hoops compiling GNU software on HP-UX and Solaris, that is until you get all of the GNU packages you want/need on there.

As for midnight commander on OS X, why not just apt-get it using fink? http://fink.sourceforge.net/

B
__________________
MBA (13" 1.7 GHz 128GB), UMBP (15" SD 2.8 GHz), UMB (13" 2.4 GHz), iMac (17" Yonah), 32GB iPad 3 WiFi+LTE, 64 GB iPad WiFi, 32 GB iPhone 5, Airport Extreme
balamw is online now   0 Reply With Quote
Old Nov 11, 2005, 02:54 AM   #7
caveman_uk
Guest
 
caveman_uk's Avatar
 
Join Date: Feb 2003
Location: Hitchin, Herts, UK
Quote:
Originally Posted by Selivanov
Hmm. MacOS X is not so *nix-like as it should be. For example, i try to compile Midnight Commander on my computer (MacOS X 10.4 Tiger). He (MC) said that he wants glib package. I try to compile glib package. It asks me for gettext library. And so on... At the end of that story i stuck on the gcc localization.
This is the reason the Linux/FreeBSD guys spent ages getting decent package installers working. For example, rpm, apt-get, portage (Gentoo Linux), and the ports system on FreeBSD.

Mac OS X has three (to my knowledge) such systems - fink, darwinports and Gentoo Portage (the first two seem more developed).

Fink - http://fink.sourceforge.net/
DarwinPorts - http://darwinports.opendarwin.org/
Portage for Mac OS X-http://www.metadistribution.org/macos/
caveman_uk is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting 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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
A few questions?? Maybe not a few :-) Pinkstiletto66 iPhone 2 Dec 12, 2010 10:27 PM
Do you edit video ?? A few questions., ... and a few answers already from PC users! igmolinav Digital Video 20 Sep 12, 2010 07:24 PM
I have a few "light leaks" and have a few questions Millah iPhone Tips, Help and Troubleshooting 1 Sep 28, 2008 01:28 PM
Few Questions about a few things davidcb13 Mac Peripherals 4 Aug 22, 2005 06:21 PM
Buying PowerBook In A Few Hours, Had A Few Questions Though??? jumpman25 Buying Tips, Advice and Discussion (archive) 44 May 31, 2004 10:49 PM


All times are GMT -5. The time now is 08:20 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC