[CMake] IA64 HP-UX build failure

Kent Boortz kent at mysql.com
Mon Mar 5 20:01:17 EST 2007


Matthew Woehlke <mw_triad at users.sourceforge.net> writes:
> I get the following failure building cmake 2.4.6 on IA64 HP-UX, due to 
> __attribute__ not being defined into nothingness:
<snip>
> $ cc -V
> cc: HP aC++/ANSI C B3910B A.05.50 [May 15 2003]
> $ uname -srvmpio
> HP-UX B.11.22 U ia64 unknown unknown HP-UX
>
> ...there is no gcc/g++ on this system.

The compile works for me, but I use a newer version of the compiler
and HP-UX 11.23. My setting is

  CFLAGS="+O2 -g +DD64 +DSitanium2 -mt -AC99 -DPTHREAD_COMPAT_MODE"
  CXXFLAGS="+O2 -g +DD64 +DSitanium2 -mt -Aa -DPTHREAD_COMPAT_MODE"
  CC=cc
  CXX=aCC

Compiler is

  % cc -V
  cc: HP aC++/ANSI C B3910B A.06.01 [Jan 05 2005]

kent

-- 
Kent Boortz, Senior Software Developer
MySQL AB, www.mysql.com
Office: +46 18 174400 ext. 4450 (VoIP)
Office: +46 19 182931
Mobile: +46 70 2791171


More information about the CMake mailing list