[CMake] Problem with cygwin and CodeSourcery's ARM Toolchain

Hendrik Sattler post at hendrik-sattler.de
Thu May 7 10:54:07 EDT 2009


Zitat von Thomas Kindler <mail+cmake at t-kindler.de>:
> cmake tries to use cygwin-style absolute "/home/tkindler.." paths,
> which arm-none-eabi-gcc doesn't seem to like (being a native win32
> program).
>
> My old makefile used relative paths to invoke the compiler. How can I
> do this in cmake generated makefiles?!
>
> Prepending "c:/cygwin/" to all paths should also solve the problem.

If you have a native compiler, use the native compiled cmake. If you  
have a compiler/tool that depends on cygwin, use the cygwin-compiled  
cmake.
Living in both worlds (native vs. cygwin) is a major pain. Just don't.

HS




More information about the CMake mailing list