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

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to