This is the mail archive of the gcc-patches@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]

Re: [patch] ppc64 native target for gcc


This is very nice. How am I supposed to build it? I tried

env CC='gcc -m64 -mcpu=970' ../configure --host=powerpc64-apple- darwin8.8.0 --target=powerpc64-apple-darwin8.8.0 --with-gmp=/pkgs/ gmp-4.2.1-64/ --with-mpfr=/pkgs/gmp-4.2.1-64/ --prefix=/pkgs/ gcc-4.3.0-64; make -j 4 bootstrap >& build.log

where 64-bit gmp-4.2.1 and mpfr-2.2.0 (patched) sit in /pkgs/ gmp-4.2.1-64/, and got at the end of stage1

/Users/gcc-test/programs/gcc/mainline/objdir/./prev-gcc/xgcc -B/Users/ gcc-test/programs/gcc/mainline/objdir/./prev-gcc/ -B/pkgs/ gcc-4.3.0-64/powerpc64-apple-darwin8.8.0/bin/ -g -O2 -DIN_GCC -W - Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes - pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings - Wold-style-definition -Wmissing-format-attribute -Werror -fno- common -DHAVE_CONFIG_H -o gcjh java/gjavah.o java/jcf-io.o java/ jcf-depend.o java/jcf-path.o java/win32-host.o java/zextract.o version.o errors.o ggc-none.o intl.o -L../zlib -lz ../libcpp/ libcpp.a ./../intl/libintl.a ../libiberty/libiberty.a ../ libdecnumber/libdecnumber.a -L/pkgs/gmp-4.2.1-64//lib -L/pkgs/ gmp-4.2.1-64//lib -lmpfr -lgmp
ld64 warning: in /usr/lib/libz.dylib, file is not of required architecture
Undefined symbols:
_inflateEnd, referenced from:
_read_zip_member in jcf-io.o
_inflateInit2_, referenced from:
_read_zip_member in jcf-io.o
_inflate, referenced from:
_read_zip_member in jcf-io.o
ld64-62.1 failed: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [gcjh] Error 1
make[3]: *** Waiting for unfinished jobs....


Brad


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