Re: [CMake] CMake 2.6.0 cross-compile: 1st time failed, 2nd time passed

2008-08-06 Thread ning
Hi Alex 2008/8/7 Alexander Neundorf <[EMAIL PROTECTED]>: > On Wednesday 06 August 2008, ning wrote: >> Hi, Alex >> > ... >> I removed force compiler inclusion from CMAKE_TOOLCHAIN_FILE and >> "if (CMAKE_CROSSCOMPILING)" clause from CMakeLists.txt to try >> set(CMAKE_C_COMPILER >> "arm-wrs-

Re: [CMake] CMake 2.6.0 cross-compile: 1st time failed, 2nd time passed

2008-08-06 Thread Alexander Neundorf
On Wednesday 06 August 2008, ning wrote: > Hi, Alex > ... > I removed force compiler inclusion from CMAKE_TOOLCHAIN_FILE and > "if (CMAKE_CROSSCOMPILING)" clause from CMakeLists.txt to try > set(CMAKE_C_COMPILER > "arm-wrs-linux-gnueabi-gcc" > "--sysroot=${SYSROOT_PATH} -mfloat-abi=

Re: [CMake] CMake 2.6.0 cross-compile: 1st time failed, 2nd time passed

2008-08-05 Thread ning
Hi, Alex 2008/8/6 Alexander Neundorf <[EMAIL PROTECTED]>: > On Tuesday 05 August 2008, ning wrote: >> Hi, all >> >> Just for other cmake newbies, like me, who run into cross-compiler that >> is not able to build a simple program by default without special flags. >> When I go on reading the wiki >>

Re: [CMake] CMake 2.6.0 cross-compile: 1st time failed, 2nd time passed

2008-08-05 Thread Alexander Neundorf
On Tuesday 05 August 2008, ning wrote: > Hi, all > > Just for other cmake newbies, like me, who run into cross-compiler that > is not able to build a simple program by default without special flags. > When I go on reading the wiki > http://www.cmake.org/Wiki/CMake_Cross_Compiling > I found that I s

Re: [CMake] CMake 2.6.0 cross-compile: 1st time failed, 2nd time passed

2008-08-04 Thread ning
eLists.txt. Although I did not find a statement about this in 2.6.0 documents. Best regards. ning > Message: 5 > Date: Fri, 1 Aug 2008 13:36:09 +0900 > From: ning <[EMAIL PROTECTED]> > Subject: [CMake] CMake 2.6.0 cross-compile: 1st time failed, 2nd time >passed >

[CMake] CMake 2.6.0 cross-compile: 1st time failed, 2nd time passed

2008-07-31 Thread ning
Hi List, I am here trying to cross-compile a tiny demo project with cmake 2.6.0. When I ran cmake for the first time, link failed because CMAKE_C_FLAGS was not used to compile cmTryCompileExec. Then I modified nothing, but only ran cmake again. CMAKE_C_FLAGS was used properly and link passed. Th