Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-20 Thread Martin Kupke
Hi Alex, sorry for sending mails in HTML format (hopefully the mail client is now configured correctly). You'll find my answers to your comments below. On 20.09.11 05:29, Alexander Neundorf wrote: Hi, can you please adjust your mail client so it doesn't send HTML mails ? On Monday,

[CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Martin Kupke
I'm using CMake in version 2.8.5 and just want to cross compile with a decicated Compiler / Linker set on my Windows machine. Of course I've read the FAQ and the Tutorial, afterwards I started trying to use CMake on a DOS (cmd.exe) command line interface with CMakeLists.txt and a toolchain

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Eric Noulard
2011/9/19 Martin Kupke martin.ku...@novero.com: I'm using CMake in version 2.8.5 and just want to cross compile with a decicated Compiler / Linker set on my Windows machine. Of course I've read the FAQ and the Tutorial, afterwards I started trying to use CMake on a DOS (cmd.exe) command line

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Martin Kupke
If adding the parameter -G "NMake Makefiles" to my command line, then the output is different...but still errors: * snip output * Cross Compiling -- The C compiler identification is unknown -- The CXX compiler identification is

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Martin Kupke
My problem (the error) already occurs in the toolchain file, this means before the CMakeLists.txt is read. So far it is total independent of the entries in the CMakeLists.txt! I have added the line: message ("Mein CMakeLists.txt File") in top of my

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Eric Noulard
2011/9/19 Martin Kupke martin.ku...@novero.com My problem (the error) already occurs in the toolchain file, this means before the CMakeLists.txt is read. So far it is total independent of the entries in the CMakeLists.txt! I have added the line: message (Mein CMakeLists.txt File) in top

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Benjamin Ruard
You can use the following commands to know what are compilers used in the CMakeLists.txt: message(C compiler: ${CMAKE_C_COMPILER}) message(C++ compiler: ${CMAKE_CXX_COMPILER}) Moreover, you can set them: set(CMAKE_CXX_COMPILER ...) regards Benjamin JEANTY-RUARD Le lundi 19 septembre 2011 à

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Martin Kupke
That's a hint, I changed my toolchain file "toolchain_ppc.cmake" to the following: INCLUDE(CMakeForceCompiler) set(CMAKE_SYSTEM_NAME "Discovery") if(CMAKE_CROSSCOMPILING) message("Cross Compiling") endif(CMAKE_CROSSCOMPILING) # which compilers to

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Alexander Neundorf
Hi, can you please adjust your mail client so it doesn't send HTML mails ? On Monday, September 19, 2011 04:57:32 PM Martin Kupke wrote: That's a hint, I changed my toolchain file toolchain_ppc.cmake to the following: INCLUDE(CMakeForceCompiler) set(CMAKE_SYSTEM_NAME Discovery)