Skip to content
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

Fix cross-compilation to i386-windows-msvc #3434

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

LemonBoy
Copy link
Contributor

Use Mingw's .def files to build a .lib when possible and show an error otherwise.

In other words you now have to supply .lib files if you're linking against a non-system (or a system one whose .def file isn't distributed with Zig yet) library.

Fixes the last remaining cross compilation target, don't know what's needed to have it tested on the CI...

Use Mingw's .def files to build a .lib when possible and show an error
otherwise.
@andrewrk andrewrk merged commit 8aa2022 into ziglang:master Oct 11, 2019
@andrewrk
Copy link
Member

Brilliant. 32 bit windows is now very close to tier 1. I wonder how desirable 32 bit windows binaries would be on the download page. Our current definition of "tier 1" includes having binaries available. However, certainly your recent improvements have made this target tier 1 from a cross compiling perspective.

I think it would be simpler for users to keep the current definition, so I'll look into the modifications necessary to add CI support for 32 bit windows.

I'm guessing that we'll run out of memory. I think building the std lib tests currently take more than 4GiB memory. The way I was hoping to solve this was with #853 - that is - let stage1 be a ram guzzler but have the self hosted compiler be memory efficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants