Displaying 1 result from an estimated 1 matches for "d_libcpp_has_no_stdout".
2019 Nov 13
2
Compiling libc++ using GNU Arm Embedded Toolchain for arm-cortex-m4
...size.
This is not a problem when you have full control over what you include. But
if you use external libraries and you don't want to mess with their
sources, or you are not able to, then it gets complicated.
To resolve this issue I found out that libc++ can be compiled with the
flags:
-D_LIBCPP_HAS_NO_STDOUT:BOOL=ON
-D_LIBCPP_HAS_NO_STDIN:BOOL=ON
so I gave it a try: I started a struggle to compile libc++ and libc++ 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="${TOOL...