Failed to compile gcc cross toolchain.

LIU Hao lh_mouse@126.com
Mon Aug 2 14:19:43 GMT 2021


在 8/2/21 11:08 AM, bootmgr--- via Gcc-help 写道:
> 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
> 
> 

While I do have a hunk for the source file in question [1], failure to find `<cstdlib>` is indeed 
something unusual. It is most likely that you didn't install c++ headers into the correct directory, 
so your (stage1 I guess) compiler failed to find them.


[1] 
https://github.com/lhmouse/MINGW-packages-dev/blob/ddafe5bc97e027627900b95a96eacbcabdc889d7/mingw-w64-gcc-git/9000-gcc-10-branch-Added-mcf-thread-model-support-from-mcfgthread.patch#L218


-- 
Best regards,
LIU Hao

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20210802/316d0ddb/attachment.sig>


More information about the Gcc-help mailing list