This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Build problem with gcc 3.4 on Mac OS X
Andreas Schwab <schwab@suse.de> writes:
> Eljay Love-Jensen <eljay@adobe.com> writes:
>
> > Hi Davide,
> >
> > [1] $ cd gcc-3.4.0
> > [2] $ mkdir BUILD
> > [3] $ cd BUILD
> > [4] $ ../configure --prefix=/usr --program-suffix="-3.4" --with-cpu=ppc
> > --enable-altivec ppc --target=i686
> >
> > #2 is wrong. Don't make a build directory under gcc-3.4.0.
>
> I'm doing that all the time, and it never failed for me.
[snip]
>From http://gcc.gnu.org/install/configure.html:
# First, we highly recommend that GCC be built into a separate directory
# than the sources which does not reside within the source tree. This is
# how we generally build GCC; building where srcdir == objdir
# should still work, but doesn't get extensive testing; building where
# objdir is a subdirectory of srcdir is unsupported.
So you're just lucky. :-) Or perhaps the documentation is wrong.