I am new into cross compile process. Need to cross compile boost library for arm. Please suggest step to cross-compile boost library. Is it possible to cross compile required feature of boost library?
相关问题
- Implicitly defined constructor deleted due to vari
- Avoid cmake to add the flags -search_paths_first a
- AOSP Build TARGET_PRODUCT fails
- Why doesn't g++ -Wconversion warn about conver
- Cross compiling Qt 5
相关文章
- gcc/g++ gives me error “CreateProcess: No such fil
- Calls that precede a function's definition can
- socket() returns 0 in C client server application
- Formatting an integer in C++
- How to compile a c++ application using static open
- Why are i2c_smbus function not available? (I2C – E
- ambiguous overload with deleted move constructor
- Equals returning false in c++
To Cross compile boost library using followig step:
Bootstrap the code:
./bootstrap.sh
Edit Modify the configuration file (project-config.jam) to use the ARM toolchain by replacing the line with “using gcc” by:
using gcc : arm : arm-linux-gnueabihf-g++ ;
Build and install the boost libraries:
./bjam install toolset=gcc-arm --prefix=/usr/local/boost
Note: toolchain must be in the PATH