Luis Ramirez wrote:
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


Looks like the compiler does not understand cygwin paths. I would recommend using the windows build of CMake, with the "Unix Makefiles" generator. Then set CXX and CC before running cmake, and it should work.

-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to