This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 6 Jul 2006 21:32:33 -0400 (EDT)
- Subject: Re: [Bug libstdc++/28297] New: GCC 4.1.1 fails to build on Mac OS X 10.4.6
>
> GCC 4.1.1 fails to build on Mac OS X 10.4.6.
> 1. Extract source code.
> 2. Open Terminal.
> 3. Run ./configure --enable-threads --x-includes=/usr/X11R6
> --x-libraries=/usr/X11R6 --with-cpu=powerpc --with-mpfr=/usr/local/lib
> --with-gmp=/usr/local/lib.
> 4. Run make.
> 5. The following error appears halting the build process:
> checking for sin in -lm... configure: error: Link tests are not allowed after
> GCC_NO_EXECUTABLES.
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> make: *** [all] Error 2
> GCC 4.1.1 should compile properly.
> I'm using Apple's GCC 4.0.1 for compiling.
This works for me, try using "make bootstrap" instead of make.
-- Pinski