Reputation: 189
Trying to build the boost libraries, I followed the steps:
cflags="-std=c11 -O2 --sysroot=C:\toolchain\sysroot-newlib-arm-2019.01-aarch64-elf -Wall -O0 -std=c11 -D_GLIBC_USE_NANOSLEEP -DLINUX -std=c11 -g"
cxxflags="-std=c++11 -O2 --sysroot=C:\toolchain\sysroot-newlib-arm-2019.01-aarch64-elf -Wall -O0 -std=c++11 -static-libstdc++ -D_GLIBCXX_USE_NANOSLEEP -DLINUX -std=c++11 -g"
linkerflags="--sysroot=C:\toolchain\sysroot-newlib-arm-2019.01-aarch64-elf"
run the b2 command with the following options:
.\b2.exe -d+3 --debug-configuration target-os=linux toolset=gcc-aarch64 architecture=arm address-model=64 cflags="%cflags%" cxxflags="%cxxflags%" linkflags="%linkerflags%" --with-iostreams --with-filesystem --with-regex --with-locale --with-headers --with-date_time --with-random --with-thread --with-timer --with-system -q threading=multi variant=release link=static --prefix=../boost-test/ install
I used the 8.2-2019.01, AArch64 ELF bare-metal target (aarch64-elf), compiler from this website.
After running the b2 command, I get the following message: "...failed updating 8 targets..." and the boost-test/lib folder is empty. Do you have any idea what might be the problem?
Upvotes: 3
Views: 320