libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting question (HP-UX on IA64)


From: Steve Ellcey
Subject: Re: Porting question (HP-UX on IA64)
Date: Thu, 5 Apr 2001 15:20:15 -0700 (PDT)

> You could look at the stuff in libtool for IRIX, specifically 6.x.  IRIX
> does this in a very similar fashion (/usr/lib, /usr/lib32, /usr/lib64,
> etc) for the three ABIs on recent IRIX.
> 
> I'm looking at ltconfig for libtool 1.3.5, even that far back there was
> good support for doing what you're trying to do.
> 
> Search for
> 
>       libsuff
> 
> in ltconfig from 1.3.5, to find the section I'm talking about.

Well, I think I understand the stuff in ltconfig, but this seems to
require some supporting code in libtool.m4.  This is the code that I
don't completely understand.  I am not an expert on m4 or configure
scripts (or libtool for that matter) so it is not clear to me what this
is doing, is it compiling conftest.c when libtool is run or when libtool
is being built/installed?  Also, I don't really want to mess with $LD
(ld has no 32 or 64 bit flag anyway and would complain if I tried to
pass it one), is there another way to send the 32/64 bit setting into
ltconfig?  Can I just set my own variable for ltconfig to check?  I
suppose I could use CFLAGS, but I would have to differentiate between HP
C and GCC since they use different flags.

Steve Ellcey
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]