------- Additional Comments From lucier at math dot purdue dot edu  2005-06-15 
20:43 -------
Subject: Re:  Can't link 64-bit shared libraries with Xcode 2.1


On Jun 15, 2005, at 2:51 PM, pinskia at gcc dot gnu dot org wrote:

>
> ------- Additional Comments From pinskia at gcc dot gnu dot org   
> 2005-06-15 19:51 -------
> I think you built in a directory for 4.0.0 which you built a  
> prerelease of 4.0.0 which was built before the
> multilib was disabled.

That's nice.  I built a new gcc-4.0.0, put it in a clean directory,  
and got the same results.

[descartes:~/programs/gcc-4.0.0/objdir] lucier% /pkgs/gcc-4.0.0-new/ 
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-new --enable- 
languages=c
Thread model: posix
gcc version 4.0.0
/pkgs/gcc-4.0.0-new/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//ccbXmBq6.s
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/pkgs/gcc-4.0.0-new/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-new/include
/pkgs/gcc-4.0.0-new/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//ccv0JLb0.o /var/ 
tmp//ccbXmBq6.s
/usr/bin/libtool -dynamic -arch_only ppc64 -noall_load - 
weak_reference_mismatches non-weak -o conftest -L/pkgs/gcc-4.0.0-new/ 
lib/gcc/powerpc-apple-darwin8.1.0/4.0.0 -L/pkgs/gcc-4.0.0-new/lib/gcc/ 
powerpc-apple-darwin8.1.0/4.0.0/../../.. /var/tmp//ccv0JLb0.o -lgcc_s  
-lgcc -lSystemStubs -lmx -lSystem

But you refuse to try it for yourself, and keep repeating that it  
can't be so.




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22082

Reply via email to