Page 1 of 1

After Updating from codelite 5.4 to 6.0 make aborts

Posted: Tue Jun 03, 2014 9:32 pm
by thobo70
Hi all,

after Update to 6.0 I can't build anything even when I create a new Project with simple Hello World sample. Following Build output I get:

C:\Windows\system32\cmd.exe /c "C:/MinGW-4.8.1/bin/mingw32-make.exe -j8 -e -f Makefile"
----------Building project:[ armv6 - Debug ]----------
/bin/sh: -c: line 3: syntax error: unexpected end of file
mingw32-make.exe: *** [All] Error 258
Makefile:4: recipe for target 'All' failed
1 errors, 0 warnings

Any hint?

regards
Thomas

Re: After Updating from codelite 5.4 to 6.0 make aborts

Posted: Tue Jun 03, 2014 10:01 pm
by eranif
Notice that the you have sh.exe in your path...
this is known to cause problems with the default MinGW (i.e. non MSYS)

Try this:
set the environment variable SHELL=CMD.EXE in
settings -> environment variables
and try it again

Eran

Re: After Updating from codelite 5.4 to 6.0 make aborts

Posted: Tue Jun 03, 2014 10:13 pm
by thobo70
Hi eranif,

I tried it, but seems to have no effect, even after restarting codelite

regards
Thomas

Re: After Updating from codelite 5.4 to 6.0 make aborts

Posted: Tue Jun 03, 2014 10:30 pm
by eranif
Well, the generated Makefiles are not compatible with sh.exe... and sh.exe does not understand backslashes etc
so you should either locate and rename sh.exe or move it out of your path

Eran

Re: After Updating from codelite 5.4 to 6.0 make aborts

Posted: Tue Jun 03, 2014 10:57 pm
by thobo70
Hi eranif,

we have a winner, found a sh.exe in an old winavr directory, renamed it, works !! greate

Thanks !!!

regards
Thomas