Coder Social home page Coder Social logo

huangergou / dragonball Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 136.74 MB

CSS 0.11% C++ 46.41% C 6.22% Perl 1.26% HTML 44.76% M4 0.02% Batchfile 0.01% Shell 0.10% Max 0.01% XSLT 0.14% CMake 0.09% Python 0.40% Cuda 0.01% Makefile 0.09% Assembly 0.11% Eiffel 0.01% D 0.01% JavaScript 0.22% TeX 0.01% CWeb 0.04%

dragonball's Introduction

Dragonball


编译boost

  1. 编译x86 平台
./bootstrap.sh --prefix=dir_xxx
./b2 install --prefix=dir_xxx link=static variant=release
  1. 编译arm64平台
./bootstrap.sh --prefix=dir_xxx

修改project-config.jam,把using gcc 修改为

using gcc : mib3 : /opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ ;
./b2 install --prefix=dir_xxx link=static variant=release

编译openssl

  1. 编译x86 平台
./config no-asm no-shared no-threads --prefix=/home/huangqin/project/Zues/x86
make -j?
make install
  1. 编译arm64平台
CC=/opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc ./config no-asm no-shared no-threads --prefix=/home/huangqin/project/Zues/aarch64

删除 Makefile 中的 -m64

make -j?
make install

编译 libwebsocket

  1. 编译x86 平台
mkdir build
cd build

cmake .. -DCMAKE_INSTALL_PREFIX=/home/huangqin/project/Zues/x86 -DLWS_WITH_SSL=0 -DLWS_WITHOUT_TESTAPPS=ON -DLWS_WITH_SHARED=OFF 

make -j?

make install
  1. 编译arm64平台
mkdir build
cd build

export PATH=$PATH:/opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/

cmake .. -DCMAKE_INSTALL_PREFIX=/home/huangqin/tmp/install -DCMAKE_TOOLCHAIN_FILE=../contrib/cross-aarch64.cmake -DLWS_WITH_SSL=0 -DLWS_WITHOUT_TESTAPPS=ON -DLWS_WITH_SHARED=OFF 

make -j?

make install

编译 libcure

  1. 编译x86 平台
./configure --prefix=/home/huangqin/project/Zues/x86 --enable-shared=no --enable-static=yes --with-ssl=/home/huangqin/project/Zues/x86 --without-zlib --without-librtmp --disable-ldap --disable-ldaps --disable-rtsp --disable-pthreads --disable-threaded-resolver

make -j?

make install
  1. 编译arm64平台

./configure CC=/opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc CXX=/opt/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ --prefix=/home/huangqin/tmp/curl/aarch64 --enable-shared=no --enable-static=yes --host=aarch64 --with-ssl=/home/huangqin/project/Zues/aarch64 --without-zlib --without-librtmp --disable-ldap --disable-ldaps --disable-rtsp --disable-pthreads --disable-threaded-resolver

make -j?

make install

编译 thrift

  1. 编译x86 平台
./configure --prefix=/home/huangqin/tmp/ti/x86 --enable-shared=no --enable-static=yes  --with-boost=no --with-libevent=no --with-zlib=no --with-qt4=no --with-qt5=no --with-openssl=/home/huangqin/project/Zues/x86 --with-csharp=no --with-java=no --with-erlang=no --with-nodejs=no --with-lua=no --with-python=yes --with-py3=no --with-perl=no --with-php=no --with-php_extension=no --with-dart=no --with-ruby=no --with-haskell=no --with-go=no --with-rs=no --with-cl=no --with-haxe=no --with-dotnetcore=no --with-d=no

make -j?

make install
  1. 编译arm64平台
nop

dragonball's People

Contributors

huangergou avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.