Re: Building 64-bit mathopd on SUN UltraSPARC platforms?
Michiel Boland <[email protected]> Mon, 20 Nov 2006 21:52:07 +0100 (CET)
| Newsgroups | gmane.network.mathopd |
|---|---|
| Message-ID | <[email protected]> |
> /opt/SUNWspro/bin/cc -c -Xa -fast -native -xstrconst > -mt -xarch=v9 -xcache=16/32/1:256/64/4 -xchip=ultra2e > -DNEED_INET_ATON -DHAVE_CRYPT_H stub.c -o stub.o > /opt/SUNWspro/bin/cc -R/usr/local/lib -s -o mathopd > base64.o cgi.o config.o core.o dump.o imap.o log.o > main.o redirect.o request.o util.o stub.o > -L/usr/lib/sparcv9 -lsocket -lnsl > ld: fatal: file base64.o: wrong ELF class: ELFCLASS64 You need to add -xarch=v9 to LDFLAGS as well as CFLAGS. HTH Cheers Michiel