Re: [xml] build on HP-UX with GCC fails with "Compiler notANSI compliant"
- From: Rick Jones <rick jones2 hp com>
- To: byron <byronical gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] build on HP-UX with GCC fails with "Compiler notANSI compliant"
- Date: Fri, 09 Nov 2007 15:55:25 -0800
byron wrote:
Well I've managed to get it compiling now by modifying the configure
script in the following section.
if [ "`uname -s`" = "HP-UX" ]
then
export prefix="/usr/local"
export PATH="$prefix/bin:$PATH"
if [ "`uname -m`" = "ia64" ]
then
export libdir="$prefix/lib/hpux32"
fi
* export CC="cc"*
export CFLAGS="-O -I/usr/local/include"
export CPPFLAGS="$CFLAGS"
export CXX="aCC"
export CXXFLAGS="$CFLAGS"
export F77="/bin/true"
export RANLIB="/bin/true"
export enable_shared="yes"
export enable_static="yes"
fi
It was hard coding CC as "cc" so replaced that line with the following*
export CC="${CC-cc}" *and was able build the library successfully.
If you got those source bits from the HP-UX porting archives -
http://hpux.connect.org.uk/ or its mirrors, then that may be a change they made
related to their always using (once again after a haitus) the HP ANSI C compiler
- ie the unbundled one.
You might want to compare those bits with the bits you can get directly from
http://www.xmlsoft.org/
rick jones
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]