Re: [CMake] Crosscompiling for arm linux on cmake 2.8.0

2010-04-08 Thread Alexander Neundorf
On Wednesday 07 April 2010, Luigi Grilli wrote: > I'm trying to cross compile for ARM with this command: Not sure, but I would put all the -Dsomething=foo _before_ the path to the source directory: > cmake . -DCMAKE_BUILD_TYPE=DEBUG > -DCMAKE_TOOLCHAIN_FILE=arm-gcc3.4.5.cmake > > > > Here is my

Re: [CMake] Crosscompiling for arm linux on cmake 2.8.0

2010-04-07 Thread Yegor Yefremov
> I’m trying to cross compile for ARM with this command: > > > > cmake . -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_TOOLCHAIN_FILE=arm-gcc3.4.5.cmake > > > > Here is my toolchain file: > > > > INCLUDE(CMakeForceCompiler) > > > > # this one is important > > SET(CMAKE_SYSTEM_NAME Linux) > > s

[CMake] Crosscompiling for arm linux on cmake 2.8.0

2010-04-07 Thread Luigi Grilli
I'm trying to cross compile for ARM with this command: cmake . -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_TOOLCHAIN_FILE=arm-gcc3.4.5.cmake Here is my toolchain file: INCLUDE(CMakeForceCompiler) # this one is important SET(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR arm) #this o