problems compiling gcc under Max OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm attempting to compile gcc 4.3.1 under Mac OS X (i686 processor) using gcc 4.0.1 which apple provided as part of their XCode tools.

./configure CC=gcc CFLAGS="-02 -m64 -mtune=k8"

and then of course a make all. I am getting the following:

gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings - Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H - DGENERATOR_FILE -o build/genmodes \ build/genmodes.o build/errors.o ../../build-i386-apple- darwin8.11.1/libiberty/libiberty.a /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: truncated or malformed archive: ../../build-i386-apple-darwin8.11.1/libiberty/libiberty.a (ranlib structures in table of contents extends past the end of the table of contents, can't load from it)
collect2: ld returned 1 exit status
make[3]: *** [build/genmodes] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

I'm unfamiliar with this error. Can anyone point me in the right direction?

~Nick

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux