Hello, I am very new coding so please forgive me
. I first installed code::blocks then I installed minigw. I tried to run a hello world and got the "gcc error createprocess no such file or directory" even though I made sure that the environmental path and minigw are correctly installed.
So I gave up and installed tdm-gcc. I made a c++ hello world but got the error "Error: Invalid Instruction for push"
This is what the log says:
||=== Build: Debug in Project one v2 (compiler: GNU GCC Compiler) ===|
C:\Users\JIBZOI~1\AppData\Local\Temp\cc3omyxM.s|20|Error: invalid instruction suffix for `push'|
C:\Users\JIBZOI~1\AppData\Local\Temp\cc3omyxM.s|21|Error: invalid instruction suffix for `push'|
C:\Users\JIBZOI~1\AppData\Local\Temp\cc3omyxM.s|24|Error: invalid instruction suffix for `push'|
C:\Users\JIBZOI~1\AppData\Local\Temp\cc3omyxM.s|55|Error: invalid instruction suffix for `push'|
C:\Users\JIBZOI~1\AppData\Local\Temp\cc3omyxM.s|75|Error: invalid instruction suffix for `push'|
C:\Users\JIBZOI~1\AppData\Local\Temp\cc3omyxM.s|105|Error: invalid instruction suffix for `push'|
||=== Build failed: 6 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
Please help me, did I do something wrong in the process?
EDIT: btw my compiler is set to gnu gcc compiler, i cant find the tdm-gcc at the settings, if so please tell me how to set tdm-gcc as default compiler