[Cmake] Build failure under Sun Workshop 5.0

Amitha Perera perera at cs.rpi.edu
Wed May 9 01:06:52 EDT 2001


CMake fails to build under WorkShop 5.0 on Solaris 8 when
-instances=static or -instances=semiexplicit. It works when
-instances=extern.

I have compile logs if anyone wants to see them.

On a slightly different topic, it may be good to have different
compile flags for building (bootstrapping) CMake than for building the
project itself, because the configure time flags for the compiler
could be "funny". Or else, the flags should be identical. What I'm
thinking of is this: if I wanted to play with full implicit templates,
I may call ./configure thus:

  CC=gcc CXX=g++ CXXFLAGS="-fimplicit-templates -frtti" ../src/configure

Clearly, depending on what I wanted to experiment with, the flags
could get could weird--weird enough that CMake may not build. So, in
the same way that CMake has a simple makefile for bootstrapping, it
should have well-known compiler flags for bootstrapping.

Amitha.





More information about the CMake mailing list