-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot build following instructions #7
Comments
I know this has something to do with mingw side, any help will be appreciated. |
cc is probably not defined. Set the environment variable for CC to gcc or whatever compiler you are using. Either in the Makefile, cmd or permanently in the environment variables. |
Thanks. Also why mingw-w64-i686-gcc instead of x86_64 ? |
Laziness. A 32bit executable works on both 32bit and 64bit machines. |
👌 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ mingw32-make.exe
cc -o virgo.o -O3 -nostdlib -fno-asynchronous-unwind-tables -fno-builtin -fno-ident -ffunction-sections -fdata-sections -Wall -m32 -c virgo.c
Makefile:25: recipe for target 'virgo.o' failed
process_begin: CreateProcess(NULL, cc -o virgo.o -O3 -nostdlib -fno-asynchronous-unwind-tables -fno-builtin -fno-ident -ffunction-sections -fdata-sections -Wall -m32 -c virgo.c, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: *** [virgo.o] Error 2
The text was updated successfully, but these errors were encountered: