Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There's an excellent free Ada compiler for Mac OS X <a href="http://libre.adacore.com/">available from AdaCore</a>.</p> <p>You should be OK with the GNAT GPL edition. Follow the Download link - choose <em>Free Software of Academic Development</em> - at the bottom of the page, follow <em>Build your Download Package</em>.</p> <p><em>Select your platform</em> as <code>x86_64-darwin</code>, <code>2012</code>. Click on <em>GNAT 2012</em>, then on <code>gnat-gpl-2012-x86_64-apple-darwin10.8.0-bin.tar.gz</code> (this contains all you'll need for the moment).</p> <p>You'll also need Xcode (free with Mac OS X). Pre-Lion, this was (I think) an optional install on the installation DVD. In Lion or ML, you need to get it from the App Store (in ML it's at <em>Categories</em> > <em>Developer Tools</em> > <em>Xcode</em>). In ML, you also need to install the command line tools: open Xcode, then <em>Xcode</em> > <em>Preferences</em> > <em>Downloads</em> > <em>Components</em>, select <em>Install</em> against the Command Line Tools.</p> <p>I say to install Xcode first, because the GNAT install needs it (you can tell whether the command line tools are installed by saying <code>which make</code>: if the answer comes back blank, they aren't installed). Anyway, for the GNAT install,</p> <pre><code>$ cd $ tar zxvf ~/Downloads/gnat-gpl-2012-x86_64-apple-darwin10.8.0-bin.tar.gz $ cd gnat-gpl-2012-x86_64-apple-darwin10.8.0-bin $ sudo ./doinstall </code></pre> <p>You don't need the installer after it's finished, so you can delete it.</p> <p>The defaults install GNAT under <code>/usr/local/gnat</code>, and you'll need to make sure that <code>/usr/local/gnat/bin</code> is first on your path (at any rate, ahead of <code>/usr/bin</code>). I'd edit <code>~/.bash_profile_common</code> to add</p> <pre><code>PATH=/usr/local/gnat/bin:$PATH </code></pre> <p>but I still have trouble knowing which of the <code>~/.bash*</code> files do what!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload