From: marioeroy@gmail.com
Subject: Re: ANN: GCC 4.9.0 for Mac OS X Mavericks
Date: Sat, 11 Oct 2014 15:48:35 -0700 (PDT)
Date: 2014-10-11T15:48:35-07:00 [thread overview]
Message-ID: <476be4a5-0d42-4b19-bc4d-9985ddb8e2c2@googlegroups.com> (raw)
In-Reply-To: <lytx9bb2qf.fsf@pushface.org>
On Wednesday, April 30, 2014 5:12:08 AM UTC-4, Simon Wright wrote:
>
> ...
>
> 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.
>
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.
prev parent reply other threads:[~2014-10-11 22:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 9:12 ANN: GCC 4.9.0 for Mac OS X Mavericks Simon Wright
2014-05-01 4:00 ` 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 [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox