Skip to content

Will this build with MinGW-W64? #599

Answered by compnerd
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

The windows SDK is used for the import libraries and SDK headers (the system DLLs are needed at runtime).

The resource compiler isn't used, but the manifest tool is. At some point, I'd like to implement the needed functionality in llvm-mt to drop the need for the manifest tool. The MSVC linker is not used, lld is used by default with SPM, you would need to explicitly opt into link. The C toolchain is not used at all as there's no C code currently in the library, it is entirely Swift code. Note that the manifest tool is only used as a convenience, it is not required as the manifest can be stored next to the executable. Effectively, no MSVC tools are used.

MinGW still defaults to BFD for th…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by compnerd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #597 on June 17, 2021 17:44.