Priest of the Order of the Butterfly
Posts: 600 from 2004/4/15
What I have done so far:
Introduced boost/config/platform/morhphos.hpp:
Code:
#define BOOST_PLATFORM "MorphOs"
#ifdef __cplusplus
#include <cstdlib>
#else
#include <stdlib.h>
#endif
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#include <boost/config/detail/posix_features.hpp> // not sure about this
Add the header into boost/config/detail/select_platform_config.hpp:
Code:
...
#elif defined(__morphos__)
// MorphOs (put this before the AmigaOS statement)
# define BOOST_PLATFORM_CONFIG "boost/config/platform/morphos.hpp"
....
Put user-config.jam in root dir:
Code:
using gcc : power : /gg/bin/ppc-morphos-g++-11 ;
build command:
Code:
./b2 cxxflags="-std=c++17" cflags="-noixemul -D__morphos__" toolset=gcc-power link=static threading=single variant=release optimization=speed
--user-config=/home/andre/workspace/other/boost_1_87_0/user-config.jam
--build-dir=/tmp/boost-build
--prefix=/tmp/boost-install
--with-atomic
--with-chrono
--with-program_options
--with-system
--with-random
--with-test
--with-locale
--with-filesystem
--with-iostreams
install
program_options fails: don't know why, because it should do
filesystem fails: missing POSIC filesystem implementation
iostreams fails: did not look inside yet
There is some work to do.
Maybe it is a good idea to share our work in a git repo?
regards
eliot