This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build on darwin12.3
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Nenad Vukicevic <nenad at intrepid dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Thu, 28 Mar 2013 16:48:06 -0500
- Subject: Re: GCC build on darwin12.3
- References: <CAAiZkiD7DUvtx_XU+i8osDqVAPXeAzv9nbi=yZTvPEoEB8FRLA at mail dot gmail dot com> <51547E15 dot 8070301 at intrepid dot com>
On Thu, Mar 28, 2013 at 12:29 PM, Nenad Vukicevic <nenad@intrepid.com> wrote:
> Are you using Mac ports for gmp/mpfr/mpc libraries? I see that
> you have "-L/opt/local/lib" on you path.
yes, I was using macports -- it was one of the first things I installed
on this machine since I wanted to write programs.
>
> I had the same issue and as I recall it was related to installing
> iconv mac port package and incompatibility of iconv.h header
> files.
Ah, OK.
>
> I switched to building gmp/mpfr/mpc from sources and not installing
> mac ports. Alternatively you can run contrib/download_prerequisites.
>
> Nenad
So, I uninstalled macports' gmp, mpfr, mpc; I built from sources, and yes
I am now able to successfully build GCC trunk on this darn thing.
Thanks!
-- Gaby