Hacker News new | past | comments | ask | show | jobs | submit login

Favorited on GitHub for future reference (manually when needing to make a point). Awesome work!

I publish a universal msvcrt.lib that lets you use “standard C functions” without dependencies or static linking, but I’m quite sure it wouldn’t support Windows 3.x!

https://github.com/neosmart/msvcrt.lib




Oh, this is great! Wish I'd seen this when I was compiling Chocolate Doom (on old Windows 95 builds my DOOM.EXE requires msvcrt.dll).


Thanks. I needed it enough times to warrant making it easily accessible for everyone. Great work yourself!


Thanks! Note that I don’t have much experience writing Win32 apps so the code might not be top quality.

The universal lib is interesting for future work (the compiler inlined the few things I needed). For Win32s support generating a position-independent executable was the only problematic bit, but that's not an issue for libraries.


> Note: It is recommended to use the versioned C runtime when and where possible; this script is only provided for the convenience of developers familiar with the pitfalls and caveats that come with using the unversioned copy of msvcrt.dll and the minimal APIs it exposes!

I'm worried that people won't heed this warning.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: