This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2006 01:32:41 -0000
- Subject: [Bug libstdc++/28297] GCC 4.1.1 fails to build on Mac OS X 10.4.6
- References: <bug-28297-12921@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at physics dot uc dot edu 2006-07-07 01:32 -------
Subject: Re: 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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28297