Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem

2011-02-23 Thread Alexander Neundorf
On Wednesday 23 February 2011, Schmid Alexander wrote: This suffix should be set by the platform file. Modules/CMakeSystemSpecificInformation.cmake includes CMakeGenericSystem.cmake, which sets it to . That's what you see. Then it includes Platform/${CMAKE_SYSTEM_NAME}, which is

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem

2011-02-23 Thread David Cole
On Wed, Feb 23, 2011 at 11:28 AM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Wednesday 23 February 2011, Schmid Alexander wrote: This suffix should be set by the platform file. Modules/CMakeSystemSpecificInformation.cmake includes CMakeGenericSystem.cmake, which sets it to .

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem

2011-02-22 Thread Schmid Alexander
This suffix should be set by the platform file. Modules/CMakeSystemSpecificInformation.cmake includes CMakeGenericSystem.cmake, which sets it to . That's what you see. Then it includes Platform/${CMAKE_SYSTEM_NAME}, which is Platform/Generic.cmake. This file does not change the suffix, so

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem

2011-02-21 Thread David Cole
On Mon, Feb 21, 2011 at 2:14 AM, Schmid Alexander a.sch...@de.ccv.eu wrote: On Friday 18 February 2011, Schmid Alexander wrote: Hi, of course, I´d like to have you think further about it, so here you go... ;-) This is the toolchain file I use. The specialty about is that I want to use the

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem

2011-02-21 Thread Schmid Alexander
-Ursprüngliche Nachricht- Von: David Cole [mailto:david.c...@kitware.com] Gesendet: Montag, 21. Februar 2011 13:41 An: Schmid Alexander Cc: a.neundorf-w...@gmx.net; cmake@cmake.org Betreff: Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem

2011-02-21 Thread Alexander Neundorf
On Monday 21 February 2011, Schmid Alexander wrote: ... I did some tests and from my point of view you are right - I do not have to set it at all. But, nevertheless, the problem stays. The crosscompiling toolchain produces binary files with .out suffix, and for me it seems that the the

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work / TRY_COMPILE and EXECUTABLE_SUFFIX problem

2011-02-20 Thread Schmid Alexander
On Friday 18 February 2011, Schmid Alexander wrote: Hi, of course, I´d like to have you think further about it, so here you go... ;-) This is the toolchain file I use. The specialty about is that I want to use the ARMCC as compiler and an SDK-provided linker tool for linking. # this one

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work

2011-02-18 Thread Alexander Neundorf
On Friday 18 February 2011, Schmid Alexander wrote: Hi, of course, I´d like to have you think further about it, so here you go... ;-) This is the toolchain file I use. The specialty about is that I want to use the ARMCC as compiler and an SDK-provided linker tool for linking. # this one

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work

2011-02-17 Thread Alexander Neundorf
On Thursday 17 February 2011, Schmid Alexander wrote: Hi, is it possible that the ABI check won´t work anyway for cross-compiling scenarios? It should. Anyway, I don´t think that the toolchain file is messed up, because the first part of CMake´s detection flow uses the settings I specified

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work

2011-02-17 Thread Schmid Alexander
-compiling: Cmake compiler and ABI check don´t work On Thursday 17 February 2011, Schmid Alexander wrote: Hi, is it possible that the ABI check won´t work anyway for cross-compiling scenarios? It should. Anyway, I don´t think that the toolchain file is messed up, because the first part

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work

2011-02-16 Thread Schmid Alexander
- Von: Alexander Neundorf [mailto:a.neundorf-w...@gmx.net] Gesendet: Dienstag, 15. Februar 2011 22:49 An: cmake@cmake.org Cc: Schmid Alexander Betreff: Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work Hi, On Friday 11 February 2011, Schmid Alexander wrote: Hi, I am working

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work

2011-02-15 Thread Alexander Neundorf
Hi, On Friday 11 February 2011, Schmid Alexander wrote: Hi, I am working with CMake 2.8.3 and trying to set up a cross-compiling toolchain for an ARMCC that runs on a Windows system. What I´ve done up to now is that I set up a toolchain file that I am using in combination with nmake

Re: [CMake] Cross-compiling: Cmake compiler and ABI check don´t work

2011-02-11 Thread Alexander Neundorf
On Friday 11 February 2011, Schmid Alexander wrote: Hi, I am working with CMake 2.8.3 and trying to set up a cross-compiling toolchain for an ARMCC that runs on a Windows system. What I´ve done up to now is that I set up a toolchain file that I am using in combination with nmake

[CMake] Cross-compiling: Cmake compiler and ABI check don´t work

2011-02-10 Thread Schmid Alexander
Hi, I am working with CMake 2.8.3 and trying to set up a cross-compiling toolchain for an ARMCC that runs on a Windows system. What I´ve done up to now is that I set up a toolchain file that I am using in combination with nmake makefiles. This file defines: SET( CMAKE_C_COMPILER