[GCC-XML] Unknown CMake command "ELSEIF"

Peter Hackett peter at icmanage.com
Mon Jan 7 18:18:38 EST 2008


Following the instructions listed on the gccxml web site, I get:

running /bin/sh 
"/users/peter/downloads/software/gnu/gccxml/cvs080107/GCC/config_cmake/gcc_platform.sh" 
"/users/peter/downloads/software/gnu/gccxml/cvs080107.build/GCC/config_cmake/gcc_platform.cmake" 
"/usr/bin/cmake"  2>&1
CMake Error: Error in cmake code at
/users/peter/downloads/software/gnu/gccxml/cvs080107/GCC/gcc/CMakeLists.txt:64:
Unknown CMake command "ELSEIF".

Here's exactly what I did:

mkdir /users/peter/downloads/software/gnu/gccxml
cd /users/peter/downloads/software/gnu/gccxml

mkdir cvs080107
cd cvs080107

cvs -d :pserver:anoncvs at www.gccxml.org:/cvsroot/GCC_XML login

cvs -d :pserver:anoncvs at www.gccxml.org:/cvsroot/GCC_XML co gccxml   
   ~ 3 1/2 minutes
   ~ 80 Mbytes

mv gccxml/* .
rmdir gccxml

mkdir ../cvs080107.build
cd ../cvs080107.build

cmake -DCMAKE_INSTALL_PREFIX:PATH=/users/peter/gccxml ../cvs080107 \
   |& tee cmake.out

I'm running on Suse 10.2 (X86-64)
and
cmake --version
cmake version 2.4-patch 3

I'll continue to poke away, but if anyone has any ideas about what's 
going wrong ...




More information about the gccxml mailing list