[Top][All Lists]

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

Re: HP-UX shared lib detection (1.5.24)

From: Roger While
Subject: Re: HP-UX shared lib detection (1.5.24)
Date: Thu, 01 Nov 2007 14:58:03 +0100

Hi Ralf,

Ok, I tried out the 2 recommendations :

>Still, please try either (both) of
>   ./configure CC="cc +DA2.0W"
>   ./configure --host=hppa64-hp-hpux11.11 ...

Using --host produced messages to the effect --build
should be used unless doing a cross compile. I tried
both, and both were successful, but --build didn't
produce the --host warning.

The CC="cc +DA2.0W" did NOT work, producing the same
libtool error I reported earlier.

So now the HPUX 64 build configure amounts to this:

./configure \
 --build=hppa64-hp-hpux11.11 \
 --prefix=$HOME/local \
 --disable-static \
 CPPFLAGS=-I$HOME/local/include \
 LDFLAGS=-L$HOME/local/lib \
 CPP="cc -E" \
 CFLAGS="+DA2.0W" \

I have to keep the CFLAGS="+DA2.0W" there otherwise the
configure script will choke with:

configure:2435: checking for C compiler default output file name
configure:2438: cc -I/home/proghome/wgay/local/include -L/home/proghome/wgay/local/lib conftest.c >&5 /usr/ccs/bin/ld: /usr/lib/pa20_64/ Mismatched ABI. 64-bit PA shared library found in 32-bit link.

* Roger While wrote on Wed, Oct 31, 2007 at 08:13:45PM CET:
> host='hppa2.0w-hp-hpux11.11'
> host_alias=''
> host_cpu='hppa2.0w'
> host_os='hpux11.11'
> It's being passed +DA2.0W not +DD64 as documented by HP
> for PA.
> AFAIK, DD64 was meant for IA64.

Ah, ok I was looking at older documentation that listed +DD64 as
"currently equivalent to +DA2.0W."

Still, please try either (both) of
  ./configure CC="cc +DA2.0W"
  ./configure --host=hppa64-hp-hpux11.11 ...

and report which helps to build the application correctly (both should).
If either one fails, please send for it the output of
  ./libtool --config


reply via email to

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