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:

>   I just tried executing a normal hello world C program and got the
> following error
>
> /tmp/cc2jcOrX.s: Assembler messages:
> /tmp/cc2jcOrX.s:12: Error: suffix or operands invalid for `push'
> /tmp/cc2jcOrX.s:16: Error: suffix or operands invalid for `push'
> /tmp/cc2jcOrX.s:24: Error: suffix or operands invalid for `pop'
>
> I'm running on a 64-bit server

This normally means that gcc is invoking the wrong assembler for some
reason, or passing it the wrong options.  Send us gcc -v output.  Also
tell us the command line that fails, and what system you are running on,
and what version of gcc you are using.

Ian


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