How to choose an executable format?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
TheCanterburyPanther
Posts: 1
Joined: Tue Dec 27, 2022 5:22 am

How to choose an executable format?

Post by TheCanterburyPanther »

I've began researching for a hobby project where I design an OS and development tool chain together* and read that PE is the standard format for UEFI systems. That seems like a time-saver as I would only have to support the one format but there also seems to be many people who prefer ELF.

So, how wide spread are the effects of format?
Octocontrabass
Member
Member
Posts: 5562
Joined: Mon Mar 25, 2013 7:01 pm

Re: How to choose an executable format?

Post by Octocontrabass »

I use ELF because it's the format my tools work best with, on all of the CPU architectures I'd like to target.

I can't think of any compelling differences between ELF and PE other than that, but I'm sure that's just because none of the other differences matter to me.
Post Reply