Hi, I am trying to compile simple C programs on my computer, and when compiling I get similar messages from under the terminal [see image], indicating some kind of build error. I donβt know if this is a computer / stack memory problem (although I restarted the computer) or something else, but I am sure that I compiled C programs these days in the same way.
the code:
#include <stdio.h> main(){ printf("hello"); }
Conclusion:
/tmp/cconajAc.s: assembler messages: /tmp/cconajAc.s:9: Error: suffix or operands are not valid for `push '
Please tell me how to fix it!
EDITED: I just switched from a workstation from another computer lab, and everything works fine, without any assembly errors. My guess would be a mistake in the development tools installed on these computers in another laboratory. Probably now it works for me, although it would be interesting to know the source of the problem that I had on another computer.
source share