Hey guys,
First off, thanks for all the great work... So...
I thought I'd give it a go compiling the CHDK code the other day, but I am having trouble. I followed the wiki instructiions and installed MinGW-5.1.3.exe (to c:\MinGW), MSYS-1.0.10.exe (to c:\MinGW\msys), gc_env_for_hdk-3.4.6.rar (to c:\CHDK\gcc) and got the sources.zip file (to c:\CHDK\src). I also added ";c:\chdk\gcc\bin;C:\CHDK\gcc\libexec;c:\CHDK\\gcc\libexec\gcc\arm-elf\4.1.1" to the end of my System Path variable after reading the forum.
I get the following errors...
expr: syntax error
echo "**** Build: 180"
**** Build: 180
echo "BUILD_NUMBER := 180" > version.inc
>> Entering to tools
c:\chdk\gcc\bin\gmake.exe[1]: Entering directory `c:/chdk/src/branches/grand/tools'
/usr/bin/sh: -c: line 1: syntax error near unexpected token `;'
/usr/bin/sh: -c: line 1: `for i in ; do echo \>\> Entering to tools/$i; c:/chdk/gcc/bin/gmake.exe -C $i FOLDER="tools/$i/" || exit 1; echo \<\< Leaving tools/$i; done'
c:\chdk\gcc\bin\gmake.exe[1]: *** [all-recursive] Error 258
c:\chdk\gcc\bin\gmake.exe[1]: Leaving directory `c:/chdk/src/branches/grand/tools'
c:\chdk\gcc\bin\gmake.exe: *** [all-recursive] Error 1
it appears to be failing to resolve the SUBDIRS variable in the make as the error suggests that there's nothing between the 'in' and the ';' of the 'for i in ; do' line.
Has anyone had this error, or any ideas on a fix? I'm hoping I've just missed a step or I'm using bad versions of something.