This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Difference between generated binary files from Linux and Windows (cygwin)
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: e dot coullien at faiveley dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 28 Jul 2004 14:19:10 +0100
- Subject: Re: [ECOS] Difference between generated binary files from Linux and Windows (cygwin)
- References: <C1256EDF.0046A2EA.00@smtp.faiveley.fr>
e.coullien@faiveley.com writes:
> Hi,
>
> On a Linux environment, when I compile an eCos application with powerpc-eabi-gcc
> (version 3.2.2), I don't obtain the same binary files (.bin or .srec) than on a
> Cygwin (Windows) environment.
>
> Why the same version of powerpc-eabi-gcc on a different development environment
> doesn't make the same binary ?
The two toolchains should produce identical code so long as the same
options are used.
How do the files differ? You can use objdump on the .elf files to see
exactly where the code generation has changed.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss