linux 交叉編譯(CC)開源庫

 

--host:

 arm-linux/arm-qnx

./configure  --host=arm-linux --prefix=/your_workspace/install CC=/release_version/toolchains/aarch64--glibc--stable/bin/aarch64-linux-gcc

make && make install

 

--boost

./b2 toolset=qcc target-os=qnxnto threadapi=pthread link=shared -l240 --layout=system --without-python cxxflags="-Vgcc_ntoaarch64le -Y_cxx -Wc,-std=gnu++14 -D_LITTLE_ENDIAN" linkflags="-Vgcc_ntoaarch64le -Y_cxx -lang-c++" -j4
./b2 install link=static toolset=qcc cxxflags="-Vgcc_ntoaarch64le" target-os=qnxnto --prefix=/your_install_path

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章