Skip to content

haiku: get a cross-compiled compiler working#19406

Merged
andrewrk merged 4 commits intoziglang:masterfrom
jacobly0:haiku
Mar 25, 2024
Merged

haiku: get a cross-compiled compiler working#19406
andrewrk merged 4 commits intoziglang:masterfrom
jacobly0:haiku

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.

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