Hi I am trying to compile simple C programs in my computer and I get the similar msgs from under the terminal [see images] when compiling, stating some sort of assembly error. I dont know if this is a computer memory/stack issue (although I have restarted my computer) or anything else, but what I know for sure is that I have been compiling C programs these past days in the same manner.
Code:
#include <stdio.h>
main(){
printf("hello");
}
Output:
/tmp/cconajAc.s: Assembler messages: /tmp/cconajAc.s:9: Error: suffix or operands invalid for `push'
Please tell me how to fix this!
EDITED: I have just changed from workstation from another computer lab room and it works alright with no assembly errors whatsoever. My guess would be an error in the development tools installed in those computers in the other lab room. I guess for now this works for me although it would be interesting to know the source of the problem that I had in the other computer.