This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Make/bootstrap failure on i386-apple-darwin8.10.1 (Intel Core Duo)

Ian Lance Taylor <> writes:

> "Doug Gregor" <> writes:
> > On 10/2/07, Jack Howarth <> wrote:
> > >   The fink packaging for gcc42/gcc43 builds fine on Macintel when we use...
> > >
> > > --with-arch=nocona --with-tune=generic --host=i686-apple-darwin8

> > In file included from ../../../../mainlinegcc/libgcc/../gcc/libgcc2.c:65:
> > ../../../../mainlinegcc/libgcc/../gcc/libgcc2.h:176: error: unknown
> > machine mode 'libgcc_cmp_return'
> > ../../../../mainlinegcc/libgcc/../gcc/libgcc2.h:177: error: unknown
> > machine mode 'libgcc_shift_count'
> Support for those machine modes was added to mainline on July 6.
> The above command line suggests that you are building libgcc2 with cc,
> though, rather than with the newly built compiler.  That is unusual.
> Are you doing a Canadian Cross (i.e., building with a cross compiler)?
> How did you run configure?

OK, so now I saw the --host option above.

If you are not trying to do a Canadian Cross, then you should not use
the --host option.  Use the --build option instead.  This is autoconf
at work.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]