1. Problem with manual making translated program with MinGW

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).

new topic     » topic index » view message » categorize

2. Re: Problem with manual making translated program with MinGW

Insolor said...

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Problem with manual making translated program with MinGW

Probably a comment under this question is the most usefull:

Chris Kimpton said...

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu