Code: Select all
$ gcc -mno-cygwin -m64 -O2 -s sdk.o mini2.c -o sdk-64.exe
mini2.c:1: sorry, unimplemented: 64-bit mode not compiled in
Code: Select all
$ gcc -mno-cygwin -O2 -s sdk.o mini2.c -o test.exe
gcc: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler.Code: Select all
$ gcc -O2 -s sdk.o mini2.c -o test.exe
mini2.c:9:19: fatal error: conio.h: No such file or directory
compilation terminated.
What am I doing wrong? What does it mean by 'use a mingw-targeted cross compiler'? Isn't mingw64-x36_64-gcc exactly that? Must I invoke it with another command? Installing that mingw stuff completely messed up my old compiler, so I cannot even make 32-bit compiles anymore on that machine.



