On Monday 20 of July 2009 19:49:51 Michael Leong wrote: > Hi all, > > I'm trying to build a 64 bit version of libcurl on a Solaris 10 SPARC > machine. I'm using the configure command: > > CC=cc CFLAGS=-m64 ./configure --with-ssl=[path to OpenSSL] --prefix=[prefix > path]
Try to look at the output of ./configure, especially for "build system type" and "host system type". Maybe you want to tweak these configure options. > The library compiles fine, but when I try to link it against a .o file, the > linker complains about libcurl, saying: "wrong ELF class: ELFCLASS32". This > seems to mean that it's not really building a 64 bit library. > > Has anyone else had this problem or been able to build a 64 bit library on > this platform? I assume it's something to do with a compiler flag I'm > missing or something, but I don't know what it is. I've never tried to build libcurl on that platform. Kamil
