This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Binary file
- From: Ian Lance Taylor <ian at airs dot com>
- To: Eduardo Cesar Cabrera Flores <eccf at super dot unam dot mx>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 27 May 2005 10:32:59 -0400
- Subject: Re: Binary file
- References: <Pine.GSO.4.58.0505262338110.20878@mezcal.super.unam.mx>
Eduardo Cesar Cabrera Flores <eccf@super.unam.mx> writes:
> I got a binary file which doesnt run in a Pentium III cpu but it does in a
> pentium IV and Xeon cpu.
>
> So, my question is:
>
> if there is any way to know how the file was compiled? I mean, which
> options were used to create the exe file.
No, in general this information is not recorded in the object file for
an i386 target.
Perhaps it should be, but that is not really a gcc issue. It is a
binutils issue.
Ian