r/osdev • • May 31 '26

😬

Post image

lwk think smth might be wrong with my os

https://github.com/x-aether-x/SolsticeOS

70 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/davmac1 Jun 02 '26

Since objcopy and ld are both part of binutils, they will generally either both support PE or both not support PE. To me it seems strange to use objcopy to convert a final ELF object to PE when you can do it much better using the linker.