gcc 64-bit library support ?
Hi - I'm trying to build a 64-bit "Hello world" program on under SuSE 10 on a G5 Xserve. It looks like there are no 64-bit libraries as I get the following:
gcc -m64 fred.c -o fred.o /usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc64-suse-linux/ 4.0.2/../../../libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc64-suse-linux/ 4.0.2/../../../libc.a when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc /usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status >
I'd appreciate any clues as to what I need to do to build/install 64- bit library support. Thanks, Paul
On Tue, Jan 31, Paul Russell wrote:
I'd appreciate any clues as to what I need to do to build/install 64- bit library support.
you have to install glibc-devel-64bit. Look for *-64bit.rpm packages in yast software installation screen. -- short story of a lazy sysadmin: alias appserv=wotan
participants (2)
-
Olaf Hering
-
Paul Russell