1. Problem with manual making translated program with MinGW
- Posted by Insolor Oct 23, 2012
- 1270 views
Trying to translate my program without compilation with euc -gcc -con -makefile x.exw command I get the following:
Translating code, pass: 1 2 3 4 5 6 7 8 generating 33.c files were created. To build your project, type make -f x.mak
Ok, let's type make -f x.mak:
gcc -DEWINDOWS -fomit-frame-pointer -c -w -fsigned-char -O2 -m32 -Ic:/eu4 -ffast-math init-.c -o init-.o gcc: error: CreateProcess: No such file or directory make: *** [init-.o] Error 1
What's wrong?
The complete translation with euc -gcc -con x.exw ends successfully, but I need to modify one of the translated .c files before compilation (see http://openeuphoria.org/ticket/801.wc).
2. Re: Problem with manual making translated program with MinGW
- Posted by mattlewis (admin) Oct 23, 2012
- 1284 views
gcc -DEWINDOWS -fomit-frame-pointer -c -w -fsigned-char -O2 -m32 -Ic:/eu4 -ffast-math init-.c -o init-.o gcc: error: CreateProcess: No such file or directory make: *** [init-.o] Error 1
What's wrong?
The complete translation with euc -gcc -con x.exw ends successfully, but I need to modify one of the translated .c files before compilation (see http://openeuphoria.org/ticket/801.wc).
Take a look at this. Make sure that your PATH includes the directory where gcc.exe is. But since the translator works, I suspect that this is all correct.
Alternatively, try updating the makefile to use gcc.exe instead of gcc.
Matt
3. Re: Problem with manual making translated program with MinGW
- Posted by Insolor Oct 23, 2012
- 1271 views
Probably a comment under this question is the most usefull:
I progressed a bit further by running gcc with the -v option/(verbose) - this told me that it was looking for as.exe, but not finding it.
Perhaps I missed some utility. Anyway, I've already completely removed the MinGW and currently reinstalling MinGW along with MSYS.
Update. At last, installation ended. Well, I've added "c:\MinGW\msys\1.0\bin" to the PATH ("c:\MinGW\bin" was already there), and then the the program have been compiled successfully. So the problem is solved.