I'm failed to compile libstdc++. Configured by ../gcc-11.2.0/configure --disable-multilib --disable-nls --enable-graphite --enable-languages=c,c++,lto --enable-mingw-wildcard --enable-threads=mcf --enable-version-specific-runtime-libs --disable-libstdcxx-pch --enable-fully-dynamic-string --enable-large-address-aware --enable-vtable-verify --target=x86_64-w64-mingw32 --with-sysroot=/usr/local Build: x86_64-linux-gnu Target:x86_64-w64-mingw32 Host: x86_64-linux-gnu Error Messages: libtool: compile: /home/abc/build-gcc/./gcc/xgcc -shared-libgcc -B/home/abc/build-gcc/./gcc -nostdinc++ -L/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/src -L/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/src/.libs -L/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs -L/usr/local/x86_64-w64-mingw32/lib -L/usr/local/mingw/lib -isystem /usr/local/x86_64-w64-mingw32/include -isystem /usr/local/mingw/include -B/usr/local/x86_64-w64-mingw32/bin/ -B/usr/local/x86_64-w64-mingw32/lib/ -isystem /usr/local/x86_64-w64-mingw32/include -isystem /usr/local/x86_64-w64-mingw32/sys-include -I/home/abc/gcc-11.2.0/libstdc++-v3/../libgcc -I/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32 -I/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/include -I/home/abc/gcc-11.2.0/libstdc++-v3/libsupc++ -O3 -DNDEBUG -march=native -fno-ident -ffunction-sections -fdata-sections -O3 -DNDEBUG -march=native -fno-ident -ffunction-sections -fdata-sections -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=atexit_thread.lo -O3 -DNDEBUG -march=native -fno-ident -ffunction-sections -fdata-sections -c ../../../../gcc-11.2.0/libstdc++-v3/libsupc++/atexit_thread.cc -o atexit_thread.o ../../../../gcc-11.2.0/libstdc++-v3/libsupc++/atexit_thread.cc:25:10: fatal error: cstdlib: No such file or directory 25 | #include <cstdlib> | ^~~~~~~~~ compilation terminated. make[4]: *** [Makefile:769: atexit_thread.lo] Error 1 make[4]: Leaving directory '/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3/libsupc++' make[3]: *** [Makefile:568: all-recursive] Error 1 make[3]: Leaving directory '/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3' make[2]: *** [Makefile:493: all] Error 2 make[2]: Leaving directory '/home/abc/build-gcc/x86_64-w64-mingw32/libstdc++-v3' make[1]: *** [Makefile:13388: all-target-libstdc++-v3] Error 2 make[1]: Leaving directory '/home/abc/build-gcc' make: *** [Makefile:967: all] Error 2
Attachment:
output.tgz
Description: GNU Zip compressed data