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
> 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
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