⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (599 Bytes)
error in cross-compile for wt
ยป Toolchain-mips.cmake
Sophia Zhou
, 11/26/2010 11:55 PM
# the name of the target operating system
set
(
CMAKE_SYSTEM_NAME Linux
)
# C and C++ compiler
Set
(
CMAKE_C_COMPILER /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
)
Set
(
CMAKE_CXX_COMPILER /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-g++
)
# target environment located
set
(
CMAKE_FIND_ROOT_PATH /opt/brcm/hndtools-mipsel-uclibc/ /opt/boost/Netgear/
)
# search headers and libraries in the target environment, search programs in the host environment
set
(
CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER
)
set
(
CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY
)
set
(
CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY
)
(1-1/1)
Loading...