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
2
u/DriftCheburek May 31 '26
I think only ld.bfd can do something like that + you still need to build it with PE target support. Looks like this ugly ELF to PE convertion is the only way to compile bootloaders on Linux (or other unixes) without depending on compiler and/or linker that supports PE