Skip to content

Conversation

@R1tschY
Copy link
Contributor

@R1tschY R1tschY commented Jul 29, 2015

Complete #15

Tested (examples/boost-filesystem, examples/boost-flyweight, examples/boost-multiindex, examples/boost-phoenix, examples/boost-signals) on Ubuntu 14.04.2 with

bii configure \
  -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-cross-mingw.cmake \
  -DCOMPILER_PREFIX=i686-w64-mingw32
bii build

~/Toolchain-cross-mingw.cmake:

set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_RC_COMPILER ${COMPILER_PREFIX}-windres)
set(CMAKE_C_COMPILER ${COMPILER_PREFIX}-gcc)
set(CMAKE_CXX_COMPILER ${COMPILER_PREFIX}-g++)
set(CMAKE_FIND_ROOT_PATH  /usr/${COMPILER_PREFIX} )
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)

Boost Context do not compile, because it needs a windows assembler: http://blog.biicode.com/dependency-management-boost-libraries/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant