OSX Installer
Jacob Carlborg
doob at me.com
Thu Nov 1 00:30:57 PDT 2012
On 2012-11-01 06:04, Joshua Niehus wrote:
> I'm trying to write up a tutorial for D+vibed and have stumbled on a
> pretty basic issue. The DMD installer for OSX fails out of the box on
> Lion and Mountain Lion because Apple got rid of their developer command
> line tools stuff:
> http://robots.thoughtbot.com/post/27985816073/the-hitchhikers-guide-to-riding-a-mountain-lion
>
>
> So basically the install process for new mac users is:
> 1. Get Xcode
> 2. Install Command Line tools via Xcode preferences
> 3. Run DMD mac installer
>
> Obvious first question:
> D needs Xcode to run? <sigh>
>
> Is this going to be fixed in the next release or should I just point to
> the .zip package instead?
It's not just the installer that depends on having Xcode installed, D
depends on it. DMD uses GCC as the linker.
If you don't want to install the whole Xcode package, Apple has started
to release just the command line tools:
https://developer.apple.com/downloads/index.action
The package is called "Command Line Tools (<os>) for Xcode", where <os>
is "OS X Lion" or "OS X Mountain Lion". You need to register a free
account to access this page.
This is a non-official alternative:
https://github.com/kennethreitz/osx-gcc-installer
I think this should be stated at the Downloads page.
http://d.puremagic.com/issues/show_bug.cgi?id=8927
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list