cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building 64 bit version of libcurl on Solaris 10 SPARC

From: Stefan Teleman <stefan.teleman_at_gmail.com>
Date: Mon, 20 Jul 2009 15:31:56 -0400

It's been in OpenSolaris and Nevada (future Solaris 11) since July
2007, both 32- and 64-bit, both SPARC and Intel.

--Stefan

-----

On Mon, Jul 20, 2009 at 14:03, Kamil Dudka<kdudka_at_redhat.com> wrote:
> 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
>

-- 
Stefan Teleman
stefan.teleman_at_gmail.com
Received on 2009-07-20