Re:c code in other section
Posted: Thu May 04, 2006 8:51 am
looking at "pe.txt" (from wotsit.org), it appears that:
- CPU type can be 386..586 or MIPS (R2000..R6000)
- character encoding may be windows, os/2, posix or unknown
- debugger symbols may follow COFF, CodeView or FPO.
So compared to "MZ" executables, yes, it's portable ... when you know that ELF also has flags to indicate whether fields in the executable are big-endian or little-endian ... well ...
- CPU type can be 386..586 or MIPS (R2000..R6000)
- character encoding may be windows, os/2, posix or unknown
- debugger symbols may follow COFF, CodeView or FPO.
So compared to "MZ" executables, yes, it's portable ... when you know that ELF also has flags to indicate whether fields in the executable are big-endian or little-endian ... well ...