Innoextract Standalone Compiling

From FreeSpace Wiki
Revision as of 21:17, 29 May 2014 by Chief1983 (talk | contribs) (Created page with "<ul> <li>In the xz source folder:</li> <li>./autogen.sh (probably optional, already comes with a configure)</li> <li>./configure --enable-static --prefix=/tmp/xz</li> <li>make &&…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • In the xz source folder:
  • ./autogen.sh (probably optional, already comes with a configure)
  • ./configure --enable-static --prefix=/tmp/xz
  • make && make install
  • In the Boost source folder:
  • ./bootstrap.sh --prefix=/tmp/boost
  • OSX: ./b2 toolset=clang cxxflags=-stdlib=libstdc++ linkflags=-stdlib=libstdc++ -j2 --prefix=/tmp/boost/install --build-dir=/tmp/boost/build variant=release link=static threading=multi install
  • Solaris: ./b2 toolset=gcc -j2 --prefix=/tmp/boost/install --build-dir=/tmp/boost/build variant=release link=static install
  • In the Innoextract source folder:
  • mkdir build && cd build && cmake -DUSE_STATIC_LIBS=ON -DBOOST_ROOT=/tmp/boost/install -DLZMA_INCLUDE_DIR=/tmp/xz/include ../
  • make