FW: Error from memcpy in cstring

LIU Hao lh_mouse@126.com
Thu Nov 9 13:07:01 GMT 2023


在 2023/11/9 21:00, Dingjun Chen 写道:
> PS C:\Users\Dingjun.Chen> g++ --version
> g++.exe (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 13.2.0

This is the native compiler from x86_64-w64-mingw32 to itself (i.e. native Windows on x86-64)...


> include_directories(
>          "/home/Dingjun.Chen/x-tools/HOST-x86_64-pc-cygwin/i686-linux-musl/i686-linux-musl/include/c++/13.2.0"

... but you tell it to look for Linux headers? That's not a correct configuration. You will need a 
cross compiler, and maybe linker, etc.



-- 
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/20231109/6abaa5a4/attachment.sig>


More information about the Gcc-help mailing list