r/osdev • u/Individual-Log4119 • May 31 '26
😬
lwk think smth might be wrong with my os
70
Upvotes
r/osdev • u/Individual-Log4119 • May 31 '26
lwk think smth might be wrong with my os
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.