在 2023/7/11 04:11, Nasser Rowhani via Gcc-help 写道:
Hi.. Is it possible to reconfigure gcc after it being built?
No, but usually you need not do, because GCC can find headers and libraries by relative path.You ask because you are doing it wrong. Use GCC with mingw-w64 headers. Do not use GCC with Microsoft headers. [I am not meant to be offensive, but] you have been asking this silly question in #mingw-w64 for two days. Please stop that.
I have already given you an answer: Compiling Microsoft headers with GCC is not supported. There are a bunch of MSVC extensions that are not supported by GCC, such as `__forceinline`, `__int64`, `__pragma(pack, ...)`; and MS headers do include standard C headers, such as <ctype.h> and <stddef.h>; they also include compiler-specific headers such as <intrin.h>.
So, don't do that; it's not supported; and never will be. You say you have plenty of time, okay I'm glad to hear that, because I have very little. Go squander it yourself and stop wasting our time. Good luck.
-- Best regards, LIU Hao
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature