[CMake] RVDS and CMake
Luis Ramirez
luisramirezgonzalez at gmail.com
Tue Nov 13 11:31:47 EST 2007
Hi people,
I would like to know if someone has experience with armcc compiler provide
by the RVDS compilation suite. I am work normally with cygwin environment
and my current project has manual Makefile that are impossible to manage for
new people. I would like to suggest a construction software as CMake but I
couldn't configure a simple project with the armcc compiler. The ARM
compiler is not the Dashboard with the testing building system but I don't
undertand why it will not work.
I have posted the output at the end of the mail. I think that the error is
in the generation of the example files "build.make" and the "testCCompiler.c".
If I use gcc it works properly.
If someone has an idea please comment to me.
-------------------------------------------------------------
$cmake.exe --debug-output
Running with debug output on.
-- Check for working C compiler: /home/lramirez/bin/armcc.exe
-- Check for working C compiler: /home/lramirez/bin/armcc.exe -- broken
CMake Error: Error in cmake code at
/usr/share/cmake-2.4.7/Modules/CMakeTestCCompiler.cmake:33:
MESSAGE The C compiler "/home/lramirez/bin/armcc.exe" is not able to compile
a simple test program.
It fails with the following output:
make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory `/tmp/CMakeExample/CMakeFiles/CMakeTmp'
/usr/bin/cmake.exe -E cmake_progress_report
/tmp/CMakeExample/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.o
/home/lramirez/bin/armcc.exe -o
CMakeFiles/cmTryCompileExec.dir/testCCompiler.o -c
/tmp/CMakeExample/CMakeFiles/CMakeTmp/testCCompiler.c
"no source": Error: #5: cannot open source input file
"\tmp\CMakeExample\CMakeFiles\CMakeTmp\testCCompiler.c": No such file or
directory
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.o] Error 1
make[1]: Leaving directory `/tmp/CMakeExample/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Current CMake stack:
[2] /usr/share/cmake-2.4.7/Modules/CMakeTestCCompiler.cmake
[1] /tmp/CMakeExample/CMakeLists.txt
-- Configuring done
-------------------------------------------------------------------
--
Luis Ramírez González.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071113/51b2101e/attachment.htm
More information about the CMake
mailing list