[CMake] Compile/install on HPUX on ia64 (Itanium)
David Akdikmen
dakdikmen at accusoft.com
Mon Jun 26 18:56:57 EDT 2006
Hi,
I am trying to get cmake to build with the aC++ compiler on Itanium
version of HP-UX. I got the source, cmake-2.4.2, and ran ./configure
(which runs ./bootstrap). So far it is outputting many errors when
doing the "make". Looks like either the compiler is not complaining
about missing features, or cmake is not parsing the error message from
the compiler correctly.
First problem is that ATTR_UNUSED is being expanded to __attribute__(..)
which is a GNU compiler feature. Looks like the
TRY_COMPILE_FROM_SOURCE("int x __attribute__((__unused__))"
In Utilities/cmxmlrpc/CMakeLists.txt is succeeding when it should not.
Obviously, this is only the tip of the ice burg, so, any help on getting
this to build would be appreciated.
I tried setting:
CFLAGS='+DD32 -Ae +w'
CXXFLAGS='+DD32 -Aa +w'
LDFLAGS=+DD32
Then re-running configure, it did not help.
Should I give up and go get gcc for this platform and build it with
that?
Thanks,
David
p.s.
cc: HP aC++/ANSI C B3910B A.05.50 [May 15 2003]
HP-UX B.11.23 U ia64
More information about the CMake
mailing list