comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: ANN: GCC 4.9.0 for Mac OS X Mavericks
Date: Wed, 30 Apr 2014 10:12:08 +0100
Date: 2014-04-30T10:12:08+01:00	[thread overview]
Message-ID: <lytx9bb2qf.fsf@pushface.org> (raw)

GCC 4.9.0, with the GNAT GPL 2013 tools, is available at
https://sourceforge.net/projects/gnuada/files/GNAT_GCC%20Mac%20OS%20X/4.9.0/

There will be another release when GNAT GPL 2014 appears.

This is the README:

This is GCC 4.9.0 built for Mac OS X Mavericks (10.9.2, Darwin
13.1.0), with Xcode 5.1.1.

gcc-4.9.0-x86_64-apple-darwin13-01.tar.bz2
==========================================

Compilers included: Ada, C, C++, Objective C, Objective C++, Fortran.

Tools included: ASIS, AUnit, GPRbuild, XMLAda from GNAT GPL 2013 and
GNATColl from the public Subversion repository.

Target: x86_64-apple-darwin13
Configured with: ../gcc-4.9.0/configure \
  --prefix=/opt/gcc-4.9.0 \
  --disable-multilib \
  --disable-nls \
  --enable-languages=c,c++,ada,fortran,objc,obj-c++ \
  --host=x86_64-apple-darwin13 \
  --target=x86_64-apple-darwin13 \
  --build=x86_64-apple-darwin13
Thread model: posix
gcc version 4.9.0 (GCC)

MD5 (gcc-4.9.0-x86_64-apple-darwin13-01.tar.bz2) = 74229b5339324cd7ef7bbaab0316c4bb

Install by
=======

$ cd /
$ sudo tar jxvf ~/Downloads/gcc-4.9.0-x86_64-apple-darwin13-01.tar.bz2

and put /opt/gcc-4.9.0/bin first on your PATH.


Notes
=====

The compiler is GPL verson 3 with the Runtime Exception, so
executables built with it can be released on proprietary terms
PROVIDED THAT they make no use of the the packages from GNAT GPL 2013,
which are full GPL.

The command 'gnat', as originally build, failed with SIGSEGV. It was
rebuilt on its own, using the project file gnatcmd.gpr, and no longer
failed; the working version is provided.

Changes made to GPRbuild GPL 2013 are in gprbuild-2013-src.diff. They:
* remove the '-c' flag that is wrongly passed to ranlib (and isn't by gnatmake).
* correct a problem when building static stand-alone libraries.

GNATColl GPL 2013 wouldn't build. Instead, GNATColl (SVN revision
226851) was configured as below, which is minimal apart from GNU
Readline being enabled. Users may wish to reconfigure for their own
requirements.

  ./configure \
    --prefix=/opt/gcc-4.9.0 \
    --build=x86_64-apple-darwin13 \
    --enable-gpl

resulting in

  Shared libraries:       yes (default: static)
  Gtk+:                   no (requires pkg-config and gtkada.gpr)
  Python:                 yes /System/Library/Frameworks/Python.framework/Versions/2.7 (see --with-python)
  PyGtk:                  no  (see --enable-pygtk)
  PyGObject:              no (see --enable-pygobject)
  Syslog:                 yes (see --enable-syslog)
  Readline (GPL license): yes (see --with-readline --enable-gpl)
  gmp:                    no (see --with-gmp)
  PostgreSQL:             no -L/usr/lib (see --with-postgresql)
  Sqlite:                 embedded  (see --with-sqlite)
  Iconv:                  yes (see --with-iconv)
  Projects:               yes

Changes to ASIS GPL 2013 are in asis-gpl-2013-src-4.9.0.diff. Only
changes necessary for the build are included.

In addition to the above, a new library gnat_util is required by ASIS
and GNATColl. A Sourceforge project to provide this has been set up at
https://sourceforge.net/projects/gnatutil/; release 4.9.0 is included
here. This is the equivalent of the Debian libgnatvsn.

             reply	other threads:[~2014-04-30  9:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30  9:12 Simon Wright [this message]
2014-05-01  4:00 ` ANN: GCC 4.9.0 for Mac OS X Mavericks Dan'l Miller
2014-05-05 18:44   ` Dan'l Miller
2014-05-05 19:38     ` Simon Wright
2014-05-06 10:08     ` kylix
2014-05-06 11:06       ` Dan'l Miller
2014-05-06 15:03         ` kylix
2014-05-06 17:52           ` Dan'l Miller
2014-05-06 19:05             ` Simon Wright
2014-05-08  9:09     ` Blady
2014-05-08 18:10       ` Dan'l Miller
2014-05-12 19:34         ` Blady
2014-05-11 18:41       ` Simon Wright
2014-05-12  3:33         ` Dan'l Miller
2014-10-11 22:48 ` marioeroy
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox