Re: [CMake] Still have a problem to cross-compile a simple C++ program

2011-01-12 Thread David Cole
First, use the correct spelling: -DCMAKE_TOOLACHAIN_FILE should be: -DCMAKE_TOOLCHAIN_FILE If that doesn't solve it entirely, then try using a name without the "+" character in it for the PROJECT command. If that doesn't do it, give us more details, I guess. I'm not a cross-compiling expert, so

[CMake] Still have a problem to cross-compile a simple C++ program

2011-01-12 Thread Enrique Izaguirre
Hello again: For some reason when I try to compile a simple C++ program, it takes the wrong compiler, even though I am setting the appropriate one in the Toolchain file; I am working on Cygwin, and I am trying to compile for a LInux environment using g++-linux compiler, which I tested it and works