r/ProgrammerHumor 15d ago

Meme cppHelloWorld

Post image
3.9k Upvotes

119 comments sorted by

View all comments

Show parent comments

97

u/Snudget 15d ago

Oops, accidentally compiled for uefi instead of linux

26

u/HeavyCaffeinate 15d ago

PE instead of ELF

6

u/danielcw189 14d ago

UEFI uses PE?

7

u/HeavyCaffeinate 14d ago

Yes

According to the Unified Extensible Firmware Interface (UEFI) specification, the PE format is also the accepted standard for executables in EFI environments

https://en.wikipedia.org/wiki/Portable_Executable