top | item 31531481

(no title)

folago | 3 years ago

Did you try Zig? https://dev.to/kristoff/zig-makes-go-cross-compilation-just-...

discuss

order

ignoramous|3 years ago

Per this post [0] by Andrew Kelley, Zig's lead developer, projects with "large dependency trees" are better off using other tools than rely on Zig's cross-compile magic.

DuckDB needs Python3 to build as well, so not sure how easy it might be to get it cross-compile with Zig CC.

[0] https://archive.is/7SuAf

eatonphil|3 years ago

Also, the issue isn't cross compiling it's just static linking.