Hello,
cygwin has decided to not compile any code for example:
Code:#include <stdio.h> #include <stdlib.h> #include <string.h> main() { printf("hello"); }
Code compiles but with:
g++ -o file -c file.c
creates a file which doesnt seem to have a file type as it not recognised when I try and execute from cmd.
g++ -o file.exe -c file.c
Makes a .exe file which when I try and execute from the cmd says access is denied.
It was working before and I've tried with various .c files. cygwin1.dll is in the directory.
Any ideas?
Thanks.