This is the mail archive of the gcc-help@gcc.gnu.org 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] |
Hi. Regardless of what cflags I use, making gcc seems to always die during the configuration of libiberty. I get this error:
checking size of int... configure: error: cannot compute sizeof (int), 77 See `config.log' for more details. make[1]: *** [configure-target-libiberty] Error 1
it should be noted that what I'm attempting to do is build a bunch of utilities (gcc with fortran in this instance) that will be shared among all of our powerpc macs. It'll be shared via nfs on the desktops (mostly G5s and maybe one or two G4s) and rsynced onto the laptops (all G4s). I'm doing the building on a dual G5 with OSX Tiger and GCC 4.0.0 (that came with the apple's developer tools).
I suspect that this problem has something to do with building for a powerpc32 on a powerpc64, but alas, I've been tasked with this and would like to be able to do it if possible.
I've been running configure with these options:
--prefix="/seis/local/macPPC" --host="powerpc-apple-darwin" --with-mpfr="/seis/local
/macPPC" --with-gmp="/seis/local/macPPC"
CFLAGS that I have used with this configuration in various attempts have been -O3, -O2, -ftree-vectorize, and -no-cpp-precomp.
Thanks, Philip
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |