[CMake] Re: IA64 HP-UX build failure

Alan W. Irwin irwin at beluga.phys.uvic.ca
Mon Mar 5 21:25:43 EST 2007


On 2007-03-05 19:13-0600 Matthew Woehlke wrote:

> Kent Boortz wrote:
>> 
>> 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
>
> Isn't the point of something like cmake to *not* need to specify CFLAGS by 
> hand? :-)

Yes.  But it provides language support for various platforms/compilers in
Modules/Platform.  So probably in this case Modules/Platform/HP-UX.cmake 
has to be changed (that sets default compiler flags for the HP-UX platform)
or even Modules/Platform/HP-UX-COMPILER_NAME added (that sets specific flags
for compiler = COMPILER_NAME on HP-UX that are different than the platform
defaults given in Modules/Platform/HP-UX.cmake) to accomodate some new
possibilities.  Once you have modified Modules/Platform files so your
platform/compiler is working, send a patch.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list