When trying to compile a 32 bit app on 64 bit system
/tmp/ccYmzX7h.s: Assembler messages:
/tmp/ccYmzX7h.s:20: Error: suffix or operands invalid for
`push'
/tmp/ccYmzX7h.s:28: Error: suffix or operands invalid for
`pop'
This is the Assembler, not the compiler misinterpreting the
32bit instructions
Use gcc option –Wa,--32 to tell assembler to use 32bit
No comments:
Post a Comment