Skip to content

Latest commit

 

History

History
57 lines (49 loc) · 1.56 KB

README_MORPHOS.md

File metadata and controls

57 lines (49 loc) · 1.56 KB

boost-morphos

author: Andre Geisler [email protected]
source origin: boost.org
source MorphOS: github
license: Boost Software License - Version 1.0

Goal: Port an up-to-date boost library to MorphOS (ppc).
The following libraries are build and should work:

  • asio
  • atomic
  • beast
  • filesystem
  • iostreams
  • chrono
  • locale
  • program_options
  • random
  • system
  • test
  • url
  • uuid

Cross-compile on linux for MorphOS

Requires a working cross-compiler and the MorphOS SDK (version 3.18).
See Cross-Compiler Setup to setup it on your linux machine.

    ./bootstrap.sh
    ./b2 cxxflags="-std=c++17" cflags="-noixemul" toolset=gcc-power link=static threading=single variant=release optimization=speed \
            --user-config=user-config.jam \
            --build-dir=/tmp/boost-build \
            --prefix=/tmp/boost-install \
            --with-asio \
            --with-atomic \
            --with-beast \
            --with-filesystem \
            --with-iostreams \
            --with-chrono \
            --with-locale \
            --with-program_options \
            --with-random \
            --with-system \
            --with-test \
            --with-url \
            --with-uuid \
            install

You need to set --user-config, --build-dir and --prefix to your paths on your system.

You can also use the Makefile.mos:

    make -f Makefile.mos