comp.lang.ada
 help / color / mirror / Atom feed
From: marioeroy@gmail.com
Subject: Re: ANN: GCC 4.9.0 (2014) for Max OS X Mavericks
Date: Sat, 11 Oct 2014 15:42:39 -0700 (PDT)
Date: 2014-10-11T15:42:39-07:00	[thread overview]
Message-ID: <02796daf-0ab5-4722-a4ef-42155568e3c5@googlegroups.com> (raw)
In-Reply-To: <lyioolov7n.fsf@pushface.org>

On Sunday, June 1, 2014 5:06:04 AM UTC-4, Simon Wright wrote:
>
> ...
> 
> GNAT GPL 2014 (for Mac) supports C, C++, Ada, and Objective C. My
> 
> release additionally supports Fortran and Objective C++. In all cases,
> 
> the compiler itself is built without change. I had to rebuild the
> 
> command 'gnat', because the original build with the compiler failed with
> 
> SIGSEGV; something to do with exceptions, I need to report this but I'm
> 
> a bit too vague on the details.
> 

I could not get the work around using gprbuild to work on Mavericks 10.9.5. The gnat -v (specifying an invalid argument) still crashes. After many attempts have finally tracked this down.

One needs to pass --with-host-libstdcxx=-lstdc++ when configuring GCC. Gnat will no longer SIGSEGV after make install.

I used gnat-gpl-2014-x86_64-apple-darwin12.5.0 to build a recent 4.9 revision from the 4.9 branch.

svn export -r 216107 svn://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch gcc-4.9-20141010

Remember to pass along --with-host-libstdcxx=-lstdc++ when configuring GCC. That's it.

Regards,
Mario

Notes: Some sites out there suggest running with LDFLAGS=-lgcc_eh make ...

That will work and the build process will seem to have succeeded. However, the gnat -v (testing an invalid argument) will still crash. Instead, --with-host-libstdcxx=-lstdc++ is needed when configuring GCC. -lgcc_eh is not necessary when building GCC.




  parent reply	other threads:[~2014-10-11 22:42 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-24 17:00 ANN: GCC 4.9.0 (2014) for Max OS X Mavericks Simon Wright
2014-05-31 19:35 ` Simon Wright
2014-05-31 22:29   ` Bill Findlay
2014-05-31 22:44     ` Pascal Obry
2014-05-31 23:31       ` Bill Findlay
2014-06-01  2:34         ` Dan'l Miller
2014-06-01  9:06     ` Simon Wright
2014-06-01 13:56       ` Bill Findlay
2014-10-11 22:42       ` marioeroy [this message]
2014-10-12  9:05         ` Simon Wright
2014-10-12 15:38           ` Mario Roy
2014-10-12 18:35             ` Simon Wright
2014-10-14 16:41               ` Simon Wright
2014-10-14 21:31                 ` Mario Roy
2014-10-14 22:21                 ` David Botton
2014-10-14 22:54                   ` Luke A. Guest
2014-10-14 23:27                     ` David Botton
2014-10-15  9:42                     ` Simon Wright
2014-10-15 13:05                       ` David Botton
2014-10-15 13:41                         ` Simon Wright
2014-10-15 14:28                           ` Björn Lundin
2014-10-15 13:43                         ` Björn Lundin
2014-10-15 14:02                           ` Simon Wright
2014-10-15 13:55                   ` ANN: " Simon Wright
2014-10-15 15:33                     ` David Botton
2014-10-17 15:29                       ` Simon Wright
2014-06-02 16:46   ` Stephen Leake
2014-06-02 18:02     ` Simon Wright
2014-06-04  0:15 ` Luke A. Guest
2014-06-06  7:48   ` Simon Wright
2014-06-06 14:37     ` Lucretia
2014-06-06 14:42       ` Simon Wright
2014-10-15  5:39 ` ANN: " Mario Roy
replies disabled

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