-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
add support for --oformat=binary #7164
Copy link
Copy link
Open
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.zig ccZig as a drop-in C compiler featureZig as a drop-in C compiler feature
Milestone
Metadata
Metadata
Assignees
Labels
enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.zig ccZig as a drop-in C compiler featureZig as a drop-in C compiler feature
LLD supports outputting raw binary instead of ELF when given
--oformat=binaryflag. It is currently supported only when usingzig clang(as-Wl,--oformat=binary), but we should also support it when usingzig cc.We could also use that to implemenent
-ofmt=raw(forbuild-exe), which will solve #2826 and #5309, and allow us to get rid ofinstallRawbuild step.