Bug 6625 – Distribute newer Windows API import libraries

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-09-08T08:24:48Z
Last change time
2017-10-28T20:01:24Z
Assigned to
No Owner
Creator
Andrej Mitrovic

Comments

Comment #0 by andrej.mitrovich — 2011-09-08T08:24:48Z
This is really easy to do: 1. Download the SDK: http://msdn.microsoft.com/en-us/windows/bb980924 2. Use coffimplib to generate OMF import libs for gdi32.lib, kernel32.lib and its friends. 3. Distribute these with DMD. The gdi32.lib distributed with DMD, for example, is severely outdated. It's half the size of a modern gdi32 import library.
Comment #1 by damianday — 2012-09-24T03:57:05Z
I absolutely agree they are WAY outdated! Why is DMD not coming with the newest versions available? To put it bluntly, what use is outdated libraries to any windows programmer?? The first thing one does is resort to the WindowsApi bindings project - which should be an unnecessary step.
Comment #2 by andrej.mitrovich — 2012-12-26T15:39:15Z
*** Issue 8235 has been marked as a duplicate of this issue. ***
Comment #3 by andrej.mitrovich — 2012-12-26T15:39:19Z
*** Issue 3277 has been marked as a duplicate of this issue. ***
Comment #4 by johnnymarler — 2015-01-07T19:54:38Z
Ping. How is DMD packaged. I would be willing to make a PR for this if someone points me to the code responsible for packaging DMD and where it pulls it's lib files from. I would think that DMD pulls these lib files from the Digital Mars C Compiler which is probably a private repository, but if they are in a public repo then I'd be happy to update them.
Comment #5 by github-bugzilla — 2017-10-27T22:59:37Z
Commit pushed to stable at https://github.com/dlang/installer https://github.com/dlang/installer/commit/62adca4f2744d1ef93f7b6e36d90ff63d449494d fix Issue 6625 - update OMF import libraries - an update_libs.bat script to regenerate omf import libs from a Windows SDK is contained in the .zip archive and will be shipped as dmd2/windows/lib/update_libs.bat as well
Comment #6 by github-bugzilla — 2017-10-28T20:01:24Z