cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: design problem with CURL_SIZEOF_LONG in 7.19.0

From: Tor Arntsen <tor_at_spacetec.no>
Date: Mon, 8 Sep 2008 10:58:06 +0200

On Fri, Sep 5, 2008 at 21:17, Yang Tse <yangsita_at_gmail.com> wrote:
> 2008/9/5 Tor Arntsen wrote:
[..]
>> On IRIX there are
>> two different sets of runtime libraries (/usr/lib32 and /usr/lib64.
>> And even /usr/lib for the old o32 format). The same for the IRIX
>> freeware tree (/usr/freeware/lib{32,64}/). But there are only the
>> common /usr/include and /usr/freeware/include directories for 32- and
>> 64-bit executables.
>
> Obviously libcurl built libraries, depending on the kind of build,
> should be placed in:
>
> /usr/lib32
> /usr/lib64
> /usr/lib

Yep. The linker automatically picks the right place to look.

> And the corresponding header files installed in:
>
> /usr/include/x64/curl/*.h
> /usr/include/n32/curl/*.h
> /usr/include/o32/curl/*.h

But that's just where the trouble is. There are no compiler-specific
header directories, there's just /usr/include. The headers there are
searched by the compiler both on o32/n32/64 bit mode.
So either the user would have to specify those include directories
manually, or curl-config/pkg-config would have to. In any case it
would be a very non-standard installation (as compared to every other
3party lib).

-Tor
Received on 2008-09-08