Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
msvc subsystem option handling; added uefi os type #1855
I am attempting to write zig code that runs as a uefi application (such as a hypervisor, 2nd stage bootloader or OS); as such, it was necessary to modify some of the lld options. Andrew requested a more robust change than I was doing initially (such as enumerating the subsystems supported by lld-link and exposing those options on the command line). I then ran into an issue where assumptions were made about the presence of libc with all c code. A bit of other minor frustrations, and here we are.
andrewrk left a comment
Thanks for making this PR. I'm going to fix it up in a branch and then merge. I have a couple questions for you though - maybe you can help me figure a couple things out.