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





#!/bin/tcsh
/bin/rm -rf *; 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 BOOT_LDFLAGS='-Wl,-search_paths_first' >& build.log && (make -k -j 8 check RUNTESTFLAGS="--target_board 'unix{-mcpu=970/-m64}'" >& check.log ; make mail-report-with-warnings.log)



Well, you only need the -search_paths_first for java I think, and you don't need to specify -mcpu=970 (unless you want to of course), and you don't need to specify the target_board for the check. If you installed gmp into /usr/local or /usr/ you wouldn't need that line either. I've got a 4-way fat version I've been using for explicitly that purpose. Otherwise, unfortunately, you do need the rest since darwin is unlikely to return the 64-bit versions of the processors for config.guess any time in the near future.


thanks for all of the testing help. Is this helping your app build as well now?

-eric



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