https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057

--- Comment #13 from cqwrteur <unlvsur at live dot com> ---
../gcc/configure --disable-nls --disable-bootstrap --disable-hosted-libstdcxx
--disable-werror --with-newlib --target=x86_64-elf
--prefix=/home/cqwrteur/elf_toolchain/x86_64-elf --without-headers
--with-newlib --disable-libstdcxx-verbose --enable-languages=c,c++
--disable-libquadmath --disable-libssp

Finally got the shit working. so frustrating.

Can we just disable those stuff by default if we put --disable-hosted-libstdcxx
here?

it will disable all languages besides c, c++. libgcc will be built with
-ffreestanding. quadmath, ssp whatever would get disabled. and
--without-headers and --with-newlib should work here?

And cstdint header file does not work either since it fails to detect stdint.h
for configure at build time.

Although manually remove the __HAVE_STDINT_H__ macro and include stdint.h would
work.

Reply via email to