[openbeos] PE vs ELF file-format
- From: "theUser BL" <theuserbl@xxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Thu, 21 Aug 2003 16:06:29 +0000
Hi @ all!
Do anybody know which are the (dis)advantages of PE-files and the
(dis)advantages of ELF-files?
And is it possible, that OBOS support both?
All ppc-BeOS-Versions used a PE-compiler and can only run PE-files.
All x86-BeOS-Versions <= 3.x used a PE-compiler, too. And the system can
only run PE-files, too.
Since BeOS 4.x on x86-computers the compiler have benn changed to the
GNU-Compiler GCC. And since this time, the standard-compiler of BeOS on x86
creates ELF-files. And the OS can only run ELF-files (programs compiled for
x86-BeOS 3.x no longer run since this time).
And OBOS plan now to change completely to the GCC and the ELF-file. For x86,
ppc and the other hardware-platforms.
But is it possible to support both?
Is it possible, to change the GCC so, that it creates PE-files? And that the
system can run PE- and ELF-files?
On older Linux-systems it was possible to run ELF- and a.out-files. And I
think NetBSD runs a lot of different file-formats, too.
And what are the advantiges and disadvantiges of the PE/ELF-file format?
ELF must have a lot of advantages. Because GCC used this format. If the
format would be bad, I think, they have changed it.
And the PE-format must have its own advantages, too. The compiler-creater of
the old BeOS-C++-compiler and the ppc-BeOS-Compiler, still sell compiler for
the ppc-platform (for MacOS X for example) and other platforms.
And the PE-format is used in the EXE-files for Windows.
So, my two questions again:
Which are the advantiges/disadvanteges of which format and is it possible,
that OBOS support both formats?
Greatings
TheUserBL
_________________________________________________________________
MSN Groups & Chat - Freunde finden - leicht gemacht
http://groups.msn.com/people/
- Follow-Ups:
- [openbeos] Re: PE vs ELF file-format
- From: Axel Dörfler
- [openbeos] Re: PE vs ELF file-format
- From: Alexander G. M. Smith
- [openbeos] Re: PE vs ELF file-format
- From: Matthijs Hollemans
Other related posts:
- » [openbeos] PE vs ELF file-format
- » [openbeos] Re: PE vs ELF file-format
- » [openbeos] Re: PE vs ELF file-format
- » [openbeos] Re: PE vs ELF file-format
- » [openbeos] Re: PE vs ELF file-format
Greatings TheUserBL
- [openbeos] Re: PE vs ELF file-format
- From: Axel Dörfler
- [openbeos] Re: PE vs ELF file-format
- From: Alexander G. M. Smith
- [openbeos] Re: PE vs ELF file-format
- From: Matthijs Hollemans