NewlibをCross Compileして幸せになろう
code:bash
git clone git://sourceware.org/git/newlib-cygwin.git
cd newlib-cygwin
mkdir build && cd build
CC="clang" CXX="clang++" LD="ld.lld" CFLAGS="--target=x86_64-unknown-none -nostdlib -ffreestanding -static" ../newlib/configure -host=x86_64