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

get zig working well on windows #302

Closed
28 of 34 tasks
andrewrk opened this issue Apr 4, 2017 · 3 comments
Closed
28 of 34 tasks

get zig working well on windows #302

andrewrk opened this issue Apr 4, 2017 · 3 comments
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase.
Milestone

Comments

@andrewrk
Copy link
Member

andrewrk commented Apr 4, 2017

  • fix having to use workaround of specifying --target options in order to make tests work
  • implement ___chkstk_ms
  • more than some number of output lines is cut off becase os.cpp has a bad implementation of spawning child process on windows
  • behavior tests passing
  • pub main or export fn main causes -mconsole, export fn WinMain causes -mwindows.
  • (bonus) don't depend on libc on windows
  • Implement standard library path search #463 standard library search path
  • debug symbols don't work on windows #516 exes generated with environment msvc should make pdb files and be debuggable with msvc
  • add 32 bit windows as a test target and make that pass too
  • hello world libc working
  • get zig building statically
  • tests passing on linux running cross compiled behavior tests with wine
  • compiler-rt tests passing
  • fix compile error coloring in the terminal
  • panic does not print to stderr usefully
  • std lib tests passing
  • std.io.InStream windows implementation
  • std.os.args windows implementation
  • std.os.ChildProcess windows implementation
  • passing tests: test-behavior Run the behavior tests
  • passing tests: test-std Run the standard library tests
  • passing tests: test-compiler-rt Run the compiler_rt tests
  • passing tests: test-compare-output Run the compare output tests
  • passing tests: test-build-examples Build the examples
  • passing tests: test-compile-errors Run the compile error tests
  • passing tests: test-asm-link Run the assemble and link tests
  • passing tests: test-debug-safety Run the debug safety tests
  • passing tests: test-parsec Run the C header file parsing tests
  • .\bin\zig.exe --build-file ..\build.zig test all passing
  • look for libc at runtime on windows #539 look for libc at runtime
  • cross compiling tetris using zig build system
  • native building of tetris
  • set up appveyor to run tests when commits pushed to master
  • set up appveyor to provide build artifacts
@andrewrk andrewrk added the enhancement Solving this issue will likely involve adding new logic or components to the codebase. label Apr 4, 2017
@andrewrk andrewrk added this to the 0.1.0 milestone Apr 4, 2017
@andrewrk andrewrk changed the title get tests passing on windows get zig working well on windows Sep 13, 2017
andrewrk added a commit that referenced this issue Sep 23, 2017
@andrewrk
Copy link
Member Author

There seems to be an issue with LLVM when using the native target features for my laptop. I sent an email to the llvm-dev mailing list. For now I will check for Windows OS and skip using the target native features as a workaround.

@andrewrk
Copy link
Member Author

@marler8997 I'm doing a lot of windows work this weekend. Are you around?

andrewrk added a commit that referenced this issue Sep 30, 2017
branch and phi instead of select instruction

fixes division test for windows. See #302
@andrewrk
Copy link
Member Author

andrewrk commented Oct 1, 2017

I believe the remaining behavior test failure is an LLVM bug: http://lists.llvm.org/pipermail/llvm-dev/2017-September/117864.html

I think I can work around this by specifying extra alignment for packed structs.

andrewrk added a commit that referenced this issue Oct 1, 2017
andrewrk added a commit that referenced this issue Oct 1, 2017
andrewrk added a commit that referenced this issue Oct 1, 2017
andrewrk added a commit that referenced this issue Oct 2, 2017
now the compiler-rt tests are passing on windows. See #302
andrewrk added a commit that referenced this issue Oct 2, 2017
andrewrk added a commit that referenced this issue Oct 3, 2017
I had to revert the target native features thing because there
is still some incorrect behavior with f128.

Reopens #508
partially reverts b505462

See #302
andrewrk added a commit that referenced this issue Oct 9, 2017
andrewrk added a commit that referenced this issue Oct 15, 2017
fixes crash when evaluating user code that hits the branch limit

See #302
andrewrk added a commit that referenced this issue Oct 16, 2017
andrewrk added a commit that referenced this issue Oct 16, 2017
andrewrk added a commit that referenced this issue Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase.
Projects
None yet
Development

No branches or pull requests

1 participant