msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.28k stars 1.22k forks source link

Add [mingw-w64-x86_64-gcc-libs-devel] #17966

Open lygstate opened 1 year ago

lygstate commented 1 year ago

Package name

mingw-w64-x86_64-gcc-libs-devel

Brief description of package

Split mingw-w64-x86_64-gcc-libs-devel out of mingw-w64-x86_64-gcc, So that when using clang with mingw-w64-x86_64, there is no need install mingw-w64-x86_64-gcc, This is used to reduce the downloading size for container.

URL for package's homepage

https://packages.msys2.org/package/mingw-w64-x86_64-gcc?repo=mingw64

Provide a basic test case to validate the package's functionality.

No response

MINGW environments where you need the package

Are you willing to submit a PR?

maybe

Biswa96 commented 1 year ago
lygstate commented 1 year ago
  • What should mingw-w64-x86_64-gcc-libs-devel package contain?

The C/C++ runtime libraries and headers, do not contains the gcc compiler(they are redundant to clang)

  • Is there any reason not to use the clang64 or clang32 environment?

mingw-w64-x86_64-gcc have more broader usage currently, also clang64 vs mingw-w64-x86_64 mainly is CRT differencies not the compiler differences(gcc not work with is bacause gcc doesn't support that),

kmilos commented 1 year ago

gcc not work with is bacause gcc doesn't support that

GCC works fine in the (now recommended/default) UCRT64 environment.

lazka commented 1 year ago

I guess this makes sense, but not sure if it's worth the added complexity.