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

haiku: get a cross-compiled compiler working #19406

Merged
merged 4 commits into from
Mar 25, 2024
Merged

Conversation

jacobly0
Copy link
Member

@jacobly0 jacobly0 commented Mar 23, 2024

$ zig build -p haiku -Dno-lib -Dtarget=x86_64-haiku -Dcpu=x86_64_v2 --libc haiku.libc
~> ./zig build-obj hello.zig -target native-haiku
~> cc -o hello hello.o
~> ./hello
Hello, world!
  • bootstrap isn't working because single large allocations > 0x3f60e740 bytes fail, even though many allocations of that size succeed.
  • zig build-exe isn't working when not linked with llvm.
  • -target native-native isn't working because native abi/dynamic linker detection is failing.

Related #17123
Related #18828

@squeek502

This comment was marked as outdated.

@andrewrk andrewrk merged commit 32b4d85 into ziglang:master Mar 25, 2024
10 checks passed
@jacobly0 jacobly0 deleted the haiku branch March 25, 2024 22:58
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.

4 participants