[Bug target/22082] Can't link 64-bit shared libraries with Xcode 2.1

lucier at math dot purdue dot edu gcc-bugzilla@gcc.gnu.org
Wed Jun 15 18:54:00 GMT 2005


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


On Jun 15, 2005, at 1:49 PM, pinskia at gcc dot gnu dot org wrote:

>
> ------- Additional Comments From pinskia at gcc dot gnu dot org   
> 2005-06-15 18:49 -------
> Could you do:
> "file libgambc.dylib" in the directory which contains libgambc.dylib?

/pkgs/gcc-4.0-branch/bin/gcc -mcpu=970 -m64 -force_cpusubtype_ALL   
_gsi.o _gsi_.o -L../lib -lgambc  -o gsi
ld64 failed: in ../lib/libgambc.dylib, unknown mach-o file type
collect2: ld returned 1 exit status
make[1]: *** [gsi] Error 1
make: *** [all-recursive] Error 1
[descartes:~/programs/gambc40b13] lucier% file lib/libgambc.dylib
lib/libgambc.dylib: Mach-O 64-bit executable ppc64



-- 


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



More information about the Gcc-bugs mailing list