The command line tools and/or Xcode can be downloaded for free from Apple's developer website, you do need to register as a developer (also free). 64-bit version requires Xcode 4.1 or later. On OS 10.6, 32-bit, use Xcode 3.2 or later: Choose the "Customize…" button during installation and choose UNIX Development. If you have Xcode prior to 4.3, depending on how you installed it, you may already have the command line tools. This installs the same package as listed in the above option. There you can download and install the Command Line Tools as an optional component.
Despite the name, you don't need Xcode installed!Īfter installing Xcode (4.3 or later), choose Preferences, then pick the Downloads panel. On OS 10.7 or later, choose one of the following:ĭownload and install Command Line Tools for Xcode. If you have /usr/bin/ld available in a shell, you should be good to go. The command line development tools are required prior to installation.
If you have a customĬonfig file, you'll want to update it, as Cabal's defaults have changed. The wrapping only updates the ~/.cabal/config file the first