Displaying 1 result from an estimated 1 matches for "c_and_cxx_common_flags".
2019 Nov 13
2
Compiling libc++ using GNU Arm Embedded Toolchain for arm-cortex-m4
...++ ABI
with ARMToolchain-9-2019-q4-major. Unfortunately, I failed.
This is how I build libc++:
TOOLCHAIN_ROOT_DIR="${HOME}/ARMToolchain-9-2019-q4-major"
export CC="${TOOLCHAIN_ROOT_DIR}/bin/arm-none-eabi-gcc"
export CXX="${TOOLCHAIN_ROOT_DIR}/bin/arm-none-eabi-g++"
C_AND_CXX_COMMON_FLAGS_BASE="-mcpu=cortex-m4 -mfpu=fpv4-sp-d16
-mfloat-abi=hard --specs=nosys.specs\
--sysroot=${TOOLCHAIN_ROOT_DIR}
-I${TOOLCHAIN_ROOT_DIR}/arm-none-eabi/include\
-L${TOOLCHAIN_ROOT_DIR}/lib
-L${TOOLCHAIN_ROOT_DIR}/lib/gcc/arm-none-eabi/9.2.1"
C_AND_CXX_COMMON_FLAGS_MORE="-mthumb -...