15 мар. 2017 г.

Build LibTorrent for MIPSel on X86_64

export CXXFLAGS="-DBOOST_NO_CXX11_DELETED_FUNCTIONS=1"

./configure --target=mipsel-linux-gnu  --disable-dht --with-boost-libdir=/noxbit/mipsel/lib --disable-encryption --with-boost=/noxbit/mipsel  --prefix=/noxbit/mipsel/

make

make install


./b2 install -sBOOST_ROOT=/noxbit/mipsel/ -sBOOST_BUILD_PATH=/home/sysman/Boost/boost/

9 мар. 2017 г.

Build Boost for MIPSel on X86_64

project-config.jam :

Change
 "using gcc;"
to
 "using gcc : mips32 : mipsel-linux-gnu-gcc ;"


./b2 --build-type=minimal --without-python --without-context --without-thread --without-coroutine --without-coroutine2


Build OpenSSL for X86, MIPS, MIPSEL

A set of steps to install OpenSSL under Ubuntu 16.x to prepare NoxBit development environment:

Docs:
https://wiki.openssl.org/index.php/Compilation_and_Installation

Steps:

MIPSel
  1. git clone git://git.openssl.org/openssl.git
  2. ./Configure linux-mips32 no-shared —cross-compile-prefix=mipsel-linux-gnu- —openssldir=/noxbit/mipsel/ —prefix=/noxbit/mipsel/
  3. make clean
  4. make install
X86_64
  1. ./config no-shared
  2. make clean
  3. make install