From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: ANN: GCC 4.9.0 for Mac OS X Mavericks Date: Wed, 30 Apr 2014 10:12:08 +0100 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="17b46ff0ef6492aedc2232708a5c5eff"; logging-data="4402"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xA0uJtK6higi7Ics020vfbL3iMNMyhMc=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:3982nUVQAysXwFi69vMHxiq5W7s= sha1:c5GFle/vn2KBZgcOd3+4bXKgSg0= Xref: news.eternal-september.org comp.lang.ada:19622 Date: 2014-04-30T10:12:08+01:00 List-Id: 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.