On Tue, Aug 9, 2011 at 11:11 PM, Spencer Oliver <s...@spen-soft.co.uk> wrote: > On 9 August 2011 16:01, Xiaofan Chen <xiaof...@gmail.com> wrote: >> On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver <s...@spen-soft.co.uk> wrote: >> >>> Just tested building native windoze under cygwin and working fine here. >>> I used the release tarball and the following configure line: >>> ./configure --build=i686-pc-cygwin --host=i686-pc-mingw32 >>> --disable-shared --disable-werror --enable-ft2232_ftd2xx >> >> Try build in a separate build directory and see if that is okay >> or not. >> > > works fine in/out of src tree. > Just to be sure i also deleted the release src tree between builds.
This is the key here. It seems to me that jimtcl build is a bit strange that it creates a jimsh0.exe under the source distribution (jimtcl\autosetup directory) even though I am building out of source tree. And that seems to cause problems for subsequent build if I change the build type. mcuee@AcerPC /cygdrive/d/work/openocd/openocd-0.5.0/build_cygwin $ ls -la ../jimtcl/autosetup/jimsh0.exe -rwxr-xr-x+ 1 mcuee None 242820 Aug 10 20:10 ../jimtcl/autosetup/jimsh0.exe mcuee@AcerPC /cygdrive/d/work/openocd/openocd-0.5.0/build_cygwin $ ls -la ./jimtcl/jimsh.exe -rwxr-xr-x+ 1 mcuee None 724407 Aug 10 20:11 ./jimtcl/jimsh.exe My strange problem with the Cygwin native built was caused by this problem. -- Xiaofan _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development