Skip to content
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

Closed
ezeql opened this issue Jun 22, 2015 · 5 comments
Closed

cannot build following instructions #7

ezeql opened this issue Jun 22, 2015 · 5 comments

Comments

@ezeql
Copy link

ezeql commented Jun 22, 2015

$ 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

@ezeql
Copy link
Author

ezeql commented Jun 22, 2015

I know this has something to do with mingw side, any help will be appreciated.

@henkman
Copy link
Owner

henkman commented Jun 22, 2015

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.

@ezeql
Copy link
Author

ezeql commented Jun 22, 2015

Thanks. Also why mingw-w64-i686-gcc instead of x86_64 ?

@henkman
Copy link
Owner

henkman commented Jun 23, 2015

Laziness. A 32bit executable works on both 32bit and 64bit machines.

@ezeql
Copy link
Author

ezeql commented Jun 23, 2015

👌

@ezeql ezeql closed this as completed Jun 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants