-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create .def files so I can have my own import libraries #302
Comments
Creating a |
With MinGW it is doable apparently with |
This has now been solved! I wrote a fancy import library generator. |
Since it is actually really easy to create import libraries from
.def
files which are plain text files that can be easily edited in a text editor, I should get my own set of.def
files for all system libraries that are up to date with the latest Windows 10 version. This would allow for the creation of high quality up to date import libraries for MinGW, so I don't rely on the outdated and sometimes buggy import libraries from MinGW.As a future extension to this, I can also create MSVC import libraries from these
.def
files, which can be used on non-Windows platforms that would like to target Windows using the-pc-windows-msvc
targets usinglld
with the link flavor. This would allow the highest quality cross compiling to Windows with no MinGW cruft and no proprietary blobs.The repository would contain only the
.def
files with a script to create import libraries from them. The import libraries would in turn be distributed through crates on crates.io whichwinapi
would depend on conditionally using target specific dependencies. There would be a separate crate for each target, so that the user only downloads the version that they need.The text was updated successfully, but these errors were encountered: