Skip to content

add support for --oformat=binary #7164

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

Open
zigazeljko opened this issue Nov 19, 2020 · 0 comments
Open

add support for --oformat=binary #7164

zigazeljko opened this issue Nov 19, 2020 · 0 comments
Labels
enhancement Solving this issue will likely involve adding new logic or components to the codebase. zig cc Zig as a drop-in C compiler feature
Milestone

Comments

@zigazeljko
Copy link
Contributor

LLD supports outputting raw binary instead of ELF when given --oformat=binary flag. It is currently supported only when using zig clang (as -Wl,--oformat=binary), but we should also support it when using zig cc.

We could also use that to implemenent -ofmt=raw (for build-exe), which will solve #2826 and #5309, and allow us to get rid of installRaw build step.

@Vexu Vexu added enhancement Solving this issue will likely involve adding new logic or components to the codebase. zig cc Zig as a drop-in C compiler feature labels Nov 27, 2020
@Vexu Vexu added this to the 0.8.0 milestone Nov 27, 2020
@andrewrk andrewrk modified the milestones: 0.8.0, 0.9.0 Jun 4, 2021
@andrewrk andrewrk modified the milestones: 0.9.0, 0.10.0 Nov 24, 2021
@andrewrk andrewrk modified the milestones: 0.10.0, 0.11.0 Apr 16, 2022
@andrewrk andrewrk modified the milestones: 0.11.0, 0.12.0 Jun 19, 2023
@andrewrk andrewrk modified the milestones: 0.14.0, 0.16.0 Aug 8, 2024
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. zig cc Zig as a drop-in C compiler feature
Projects
None yet
Development

No branches or pull requests

3 participants