------- Additional Comments From lucier at math dot purdue dot edu 2005-06-15 19:32 ------- Subject: Re: Can't link 64-bit shared libraries with Xcode 2.1
On Jun 15, 2005, at 2:27 PM, pinskia at gcc dot gnu dot org wrote: > > ------- Additional Comments From pinskia at gcc dot gnu dot org > 2005-06-15 19:27 ------- > Nope, 64bit multilib support was disabled before the release of 4.0.0: > 2005-04-02 Geoffrey Keating <[EMAIL PROTECTED]> > > * config/rs6000/t-darwin8: Comment out ppc64 multilib. You keep saying this, yet I get (as I reported in my last e-mail) [descartes:/pkgs/gcc-4.0.0] lucier% /pkgs/gcc-4.0.0/bin/gcc -mcpu=970 -m64 -force_cpusubtype_ALL -o conftest -dynamiclib conftest.c -v Using built-in specs. Target: powerpc-apple-darwin8.1.0 Configured with: ../configure --prefix=/pkgs/gcc-4.0.0 --with-gmp=/ pkgs/gmp-4.1.3 --with-mpfr=/pkgs/gmp-4.1.3 Thread model: posix gcc version 4.0.0 /pkgs/gcc-4.0.0/libexec/gcc/powerpc-apple-darwin8.1.0/4.0.0/cc1 - quiet -v -D__DYNAMIC__ -D__APPLE_CC__=1 conftest.c -fPIC -quiet - dumpbase conftest.c -mcpu=970 -m64 -auxbase conftest -version -o /var/ tmp//ccKu5zS6.s ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/pkgs/gcc-4.0.0/lib/gcc/powerpc-apple- darwin8.1.0/4.0.0/../../../../powerpc-apple-darwin8.1.0/include" #include "..." search starts here: #include <...> search starts here: /pkgs/gcc-4.0.0/include /pkgs/gcc-4.0.0/lib/gcc/powerpc-apple-darwin8.1.0/4.0.0/include /usr/include /System/Library/Frameworks /Library/Frameworks End of search list. GNU C version 4.0.0 (powerpc-apple-darwin8.1.0) compiled by GNU C version 4.0.0. GGC heuristics: --param ggc-min-expand=100 --param ggc-min- heapsize=131072 as -arch ppc64 -force_cpusubtype_ALL -o /var/tmp//ccCtfLGH.o /var/ tmp//ccKu5zS6.s /usr/bin/libtool -dynamic -arch_only ppc64 -noall_load - weak_reference_mismatches non-weak -o conftest -L/pkgs/gcc-4.0.0/lib/ gcc/powerpc-apple-darwin8.1.0/4.0.0 -L/pkgs/gcc-4.0.0/lib/gcc/powerpc- apple-darwin8.1.0/4.0.0/../../.. /var/tmp//ccCtfLGH.o -lgcc_s -lgcc - lSystemStubs -lmx -lSystem [descartes:/pkgs/gcc-4.0.0] lucier% file conftest conftest: Mach-O 64-bit dynamically linked shared library ppc64 [descartes:/pkgs/gcc-4.0.0] lucier% cat conftest.c int main () { return 0; } So, it works in practice, but not in theory? Can you please address the examples I'm giving you? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22082