[CMake] Small modification of a Linux-GNU toolchain
Eric Noulard
eric.noulard at gmail.com
Thu Dec 22 05:30:17 EST 2011
Hi all,
I'd to create a very simple cross-compile toolchain in order to work
on Intel SCC (http://techresearch.intel.com/ProjectDetails.aspx?Id=1)
I do have several cross-compiler choices (2 gcc-based and 1 icc-based).
My toolchains are working but for one of them
which is gcc-based I get
i586-scc-elf-gcc: unrecognized option '-rdynamic'
So I tried to do that:
set(CMAKE_SYSTEM_NAME Linux)
# this one not so much
set(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_SYSTEM_PROCESSOR scc)
and create a Linux-GNU-scc.cmake file which contains:
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
in order to get rid of "-rdynamic"
but this does not work...
how can I derive this simple toolchain?
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
More information about the CMake
mailing list