[CMake] RVDS and CMake
Luis Ramirez
luisramirezgonzalez at gmail.com
Tue Nov 13 12:09:40 EST 2007
I'm running with cmake release 2.4.7 according with:
http://www.kwwidgets.org/Wiki/CMake_Cross_Compiling
Basically it said that cross compilers are supported from 2.6.0 (not yet
released).
The compilation with cross compilers is not supported in my current version.
I suppose that this could be the main problem, isn't it?
Should I work with a development version 2.5.something for the moment or
make me my current compilation from the CVS?
I have test CMake for win32 with "Unix Makefile" and appears the same error.
On Nov 13, 2007 5:36 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> 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
>
--
Luis Ramírez González.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071113/e1db60a0/attachment.htm
More information about the CMake
mailing list