cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: How to compile 64 bit version of libcurl on HP-UX 11.23

From: Sudipto Podder (GR/EIL) <sudipto.podder_at_ericsson.com>
Date: Fri, 29 Jun 2007 17:23:13 +0530

Hi,
The way to configure it with the cc compiler is:./configure CC=cc
CFLAGS="+DA2.0w -L/usr/lib/pa20_64/"

The library gets compiled fine.

Hope this helps other people out there.

Regards,
Sudipto
 

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Tor Arntsen
Sent: Friday, June 22, 2007 4:49 PM
To: libcurl development
Subject: Re: How to compile 64 bit version of libcurl on HP-UX 11.23

On 6/22/07, Sudipto Podder (GR/EIL) <sudipto.podder_at_ericsson.com> wrote
> Hi,
> I am trying to compile curl on HP-UX in the 64 bit mode. Could anyone
> tell me what special steps/configuration options are required to do
> this. I could not find any specific option for this in the configure
--help output.

Unfortunately HP-UX is one of the platforms missing in the autobuilds
(if you get it working maybe you could add to it :-), so no examples to
look at.. but at least for those 64-bit platforms I build for I don't do
anything special in particular (Tru64, x86-64), unless it's a dual 32/64
system (IRIX, AIX).
For the latter ones I just run ./configure CC='cc -64' (MIPSPro), or
similar+linker environment variable (AIX, I lost my build script due
to a crash so can't be specific). For the rest, the configure script
detects most, if not all, 64-bit issues, like size of size_t and the
like.

-Tor
Received on 2007-06-29