This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error: suffix or operands invalid for `push'


asura10 <surajtaurus@gmail.com> writes:

> Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1g/specs
> gcc version 2.95.1g 19990816 (change 108897)

This gcc is over 10 years old.  Do you really want to be doing that?

gcc 2.95.1 didn't support x86_64, so it is generating 32-bit x86 code.
Your system assembler probably defaults to 64-bit mode.  You're going to
have to modify your gcc sources to pass the -32 option to the assembler,
or convince it to use an assembler which is a simple shell script which
invokes the real assembler with the -32 option.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]