[CMake] CHECK_CXX_COMPILER_FLAG("-fprofile-arcs" HAVE_FPROFILE_ARCS_FLAG)

Salvatore Iovene salvatore.iovene+cmake at googlemail.com
Wed Dec 19 08:27:22 EST 2007


How come this configure check fails for my gcc?

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

After the line in the subject, HAVE_FPROFILE_ARCS_FLAG is OFF, even
tho the compiler is supposed to have that flag.

Thanks!

-- 
Salvatore Iovene
http://www.iovene.com/
Key Fingerprint: 5647 944D D5AD 2E87 00B4  7D54 2864 359D FF20 16D8


More information about the CMake mailing list