Zitat von Vladimir Lebedev-Schmidthof :
I tried having toochain.cmake file in the same dir as CMakeLists.txt
using
cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain.cmake .
does not seem to even read that file. I tried to state full path, move
the file away, no luck.
Since you are doing an in-source b
Hello Hendrik,
On Oct 20, 2009, at 15:56 PM, Hendrik Sattler wrote:
> I tried. Setting CMAKE_SYSTEM_NAME to "Linux" does not seem to
affect
> CMAKE_SYSTEM
WHERE are you try to set this? Setting this in a CMakeLists.txt file
will not work. Did you read the wiki page[1] about cross-compiling?
C
Zitat von Vladimir Lebedev-Schmidthof :
On Oct 19, 2009, at 23:18 PM, Alexander Neundorf wrote:
I set CMAKE_SYSTEM to Linux, even added "SET(APPLE 0)" but
install_name option is still generating.
You should set "CMAKE_SYSTEM_NAME", not "CMAKE_SYSTEM" to "Linux". If you
really set CMAKE_SYSTEM
Hello Alexander,
On Oct 19, 2009, at 23:18 PM, Alexander Neundorf wrote:
> I set CMAKE_SYSTEM to Linux, even added "SET(APPLE 0)" but
> install_name option is still generating.
You should set "CMAKE_SYSTEM_NAME", not "CMAKE_SYSTEM" to "Linux".
If you
really set CMAKE_SYSTEM instead of CMAKE_S
On Monday 19 October 2009, Vladimir Lebedev-Schmidthof wrote:
> Hello everyone,
>
> Two compiling platforms - Linux and OS X.
> Same project, same cmake (2.6.4), same target (Linux/ARM).
>
> Sources compiles well (GNU C/C++) but linking is different.
>
> Everything is fine on Linux.
>
> comparing m
Hello everyone,
Two compiling platforms - Linux and OS X.
Same project, same cmake (2.6.4), same target (Linux/ARM).
Sources compiles well (GNU C/C++) but linking is different.
Everything is fine on Linux.
comparing make VERBOSE=1 outputs:
OS X: [path-to]/gcc -march=armv5te -mtune=xscale -mso