This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: elf and coff object format
- To: coolc at eastday dot com
- Subject: Re: [ECOS] elf and coff object format
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 12 Apr 2001 13:32:16 +0100
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <200104120309.UAA23499@cygnus.com>
Li Xinghua wrote:
>
> hi,all
>
> I am new to ecos and GNU/Linux.
>
> My platform is PC 386,
> i386-elf-objdump tells me the format of execute file(eg hello) is elf32-i386,
> I know there is a UNIX command cof2elf,
> and can the elf object files be converted to COFF format?
>
> The MS Visual C++ compiler produces COFF file format, and are these two 'COFF formats' compatible or completely same .
You can't convert them and even if you could, there are more differences
between different C++ implementations than just the binary format.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine