Daniel,
Thanks for the answer.
You need to show us your configure arguments to be sure. I bet
you're specifying just --host.
You are right, the configure I am using since some time is:
ConfigureParams: --prefix=%p/lib/gcc4 --disable-multilib
--enable-languages=c,c++,fortran,objc,java
I have written:
Would something like
--build=%m-apple-darwin`uname -r|cut -f1 -d.`
work?
Apparently it works.
Thanks
Dominique
if test ${build} != ${host}; then
some defaults
else
AC_PROG_CC
fi
AC_TRY_COMPILE
ac_objext is set at the expansion of AC_PROG_CC and if you take the if
branch, it never gets set.
Does anyone reading this know what the right thing to do is? Is there
anything in the autoconf
On Sat, Feb 10, 2007 at 05:08:10PM +0100, Paolo Bonzini wrote:
if test ${build} != ${host}; then
some defaults
else
AC_PROG_CC
fi
AC_TRY_COMPILE
ac_objext is set at the expansion of AC_PROG_CC and if you take the if
branch, it never gets set.
Does anyone reading this know what
This seems horribly wrong somehow. Aren't we intested in the ${build}
- ${host} compiler at this point anyway? So shouldn't we be testing
it? I think the whole block can go.
Hmm, it says indeed this is going to change when we autoconfiscate.
Something like this?
Index: configure.ac
On Sat, Feb 10, 2007 at 06:59:35PM +0100, Paolo Bonzini wrote:
This seems horribly wrong somehow. Aren't we intested in the ${build}
- ${host} compiler at this point anyway? So shouldn't we be testing
it? I think the whole block can go.
Hmm, it says indeed this is going to change when
The discussion is becoming to technical for me.
Let me just say that adding --build=%m-apple-darwin`uname -r|cut -f1 -d.`
to config allowed me to build gcc without further glitch.
I guess it will do no harm to keep this addition even if it
becomes no longer necessary.
Thanks for the help
While building the gcc4-4.3.0-20070209 snapshot, I got the error
...
checking for correct version of gmp.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
...
I am using the same script that worked last week and I have
gmp 4.2.1 and mpfr 2.2.1 since several builds. I am
On Sat, Feb 10, 2007 at 12:56:13AM +0100, Dominique Dhumieres wrote:
While building the gcc4-4.3.0-20070209 snapshot, I got the error
...
checking for correct version of gmp.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
...
I am using the same script that