Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-11-17 Thread Spencer Oliver
On 16 November 2011 23:05, Whitlock, Bradley D wrote: > I believe I have found the issue with one of the previous issues that I do > not believe has been solved yet (see below): > > I thought the issue was resolved - it is for me anyway. Are you building from git master or a release ? Replied to

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-11-16 Thread Whitlock, Bradley D
I believe I have found the issue with one of the previous issues that I do not believe has been solved yet (see below): The issue is on line 503 of cc.tcl, the call to 'exec-with-stderr' will not work. I am not familiar with TCL, so I don't know the reasoning behind this, but changing to just '

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-16 Thread Xiaofan Chen
On Tue, Aug 16, 2011 at 6:13 PM, Spencer Oliver wrote: > On 16 August 2011 11:03, Steve Bennett wrote: >> Good news. Spencer and I sorted out the jimtcl build problem on mingw. >> The fix is in the jimtcl git repo. >> See: >> http://repo.or.cz/w/jimtcl.git/commit/645ed6fd4b6f9038c7e1d85d74c3872b

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-16 Thread Spencer Oliver
On 16 August 2011 11:42, Steve Bennett wrote: > On 16/08/2011, at 8:32 PM, Spencer Oliver wrote: > >> On 16 August 2011 11:13, Spencer Oliver wrote: >>> On 16 August 2011 11:03, Steve Bennett wrote: On 12/08/2011, at 11:12 PM, Xiaofan Chen wrote: > On Wed, Aug 10, 2011 at 3:39 PM,

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-16 Thread Steve Bennett
On 16/08/2011, at 8:32 PM, Spencer Oliver wrote: > On 16 August 2011 11:13, Spencer Oliver wrote: >> On 16 August 2011 11:03, Steve Bennett wrote: >>> On 12/08/2011, at 11:12 PM, Xiaofan Chen wrote: >>> On Wed, Aug 10, 2011 at 3:39 PM, Xiaofan Chen wrote: > On Wed, Aug 10, 2011 at 3:3

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-16 Thread Spencer Oliver
On 16 August 2011 11:13, Spencer Oliver wrote: > On 16 August 2011 11:03, Steve Bennett wrote: >> On 12/08/2011, at 11:12 PM, Xiaofan Chen wrote: >> >>> On Wed, Aug 10, 2011 at 3:39 PM, Xiaofan Chen wrote: On Wed, Aug 10, 2011 at 3:34 PM, Olivier Schonken wrote: > Hi Xiaofan >

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-16 Thread Spencer Oliver
On 16 August 2011 11:03, Steve Bennett wrote: > On 12/08/2011, at 11:12 PM, Xiaofan Chen wrote: > >> On Wed, Aug 10, 2011 at 3:39 PM, Xiaofan Chen wrote: >>> On Wed, Aug 10, 2011 at 3:34 PM, Olivier Schonken >>> wrote: Hi Xiaofan In my case I struggled with the same problem for  a

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-16 Thread Steve Bennett
On 12/08/2011, at 11:12 PM, Xiaofan Chen wrote: > On Wed, Aug 10, 2011 at 3:39 PM, Xiaofan Chen wrote: >> On Wed, Aug 10, 2011 at 3:34 PM, Olivier Schonken >> wrote: >>> Hi Xiaofan >>> >>> In my case I struggled with the same problem for a day or two. That is why >>> I need to know if it is t

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-12 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 3:39 PM, Xiaofan Chen wrote: > On Wed, Aug 10, 2011 at 3:34 PM, Olivier Schonken > wrote: >> Hi Xiaofan >> >> In my case I struggled with the same problem for  a day or two.  That is why >> I need to know if it is the checkout of the version, or the updating of the >> ming

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Spencer Oliver
On 10/08/2011 14:41, Jie Zhang wrote: On Wed, Aug 10, 2011 at 9:29 AM, Xiaofan Chen wrote: On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver wrote: Just tested building native windoze under cygwin and working fine here. I used the release tarball and the following configure line: ./configure --

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Jie Zhang
On Wed, Aug 10, 2011 at 9:29 AM, Xiaofan Chen wrote: > On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver 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=i68

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Xiaofan Chen
On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver 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-f

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 6:05 PM, Xiaofan Chen wrote: > On Wed, Aug 10, 2011 at 5:12 PM, Olivier Schonken > wrote: >> Could you try building with >> >> ../configure --host=i686-pc-mingw32 --enable-jlink --enable-ft2232_libftdi >> in stead of >> >> ../configure --build=i686-pc-mingw32 --enable-jlin

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Vit Mares
The problem with jimsh, jimsh0 on MinGW build is probably somewhere in the script chain jimtcl/configure jimtcl/autosetup/find-tclsh jimtcl/autosetup/test-tclsh BTW it will not accept jimsh version lesser than 0.70 as can be seen in test-tclsh script. Best regards Vit _

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Spencer Oliver
On 10 August 2011 13:26, Xiaofan Chen wrote: > On Tue, Aug 9, 2011 at 11:11 PM, Spencer Oliver wrote: >> On 9 August 2011 16:01, Xiaofan Chen wrote: >>> On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver >>> wrote: >>> Just tested building native windoze under cygwin and working fine here. >

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Spencer Oliver
On 10 August 2011 13:30, Xiaofan Chen wrote: > On Wed, Aug 10, 2011 at 6:35 PM, Spencer Oliver wrote: >> On 10 August 2011 11:15, Steve Bennett wrote: for me jimtcl has never built under msys since the update. log is attached below, for info jimsh0.exe is built ok. No install

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 6:35 PM, Spencer Oliver wrote: > On 10 August 2011 11:15, Steve Bennett wrote: >>> for me jimtcl has never built under msys since the update. >>> log is attached below, for info jimsh0.exe is built ok. >>> >>> No installed jimsh or tclsh, building local bootstrap jimsh0 >>

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Xiaofan Chen
On Tue, Aug 9, 2011 at 11:11 PM, Spencer Oliver wrote: > On 9 August 2011 16:01, Xiaofan Chen wrote: >> On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver wrote: >> >>> Just tested building native windoze under cygwin and working fine here. >>> I used the release tarball and the following configure

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Spencer Oliver
On 10 August 2011 11:15, Steve Bennett wrote: > On 10/08/2011, at 6:39 PM, Spencer Oliver wrote: > >> On 10 August 2011 07:11, Steve Bennett wrote: >>> On 10/08/2011, at 3:03 PM, Xiaofan Chen wrote: >>> On Wed, Aug 10, 2011 at 11:44 AM, Steve Bennett wrote: > On 10/08/2011, at 9:4

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Steve Bennett
On 10/08/2011, at 6:39 PM, Spencer Oliver wrote: > On 10 August 2011 07:11, Steve Bennett wrote: >> On 10/08/2011, at 3:03 PM, Xiaofan Chen wrote: >> >>> On Wed, Aug 10, 2011 at 11:44 AM, Steve Bennett >>> wrote: On 10/08/2011, at 9:43 AM, Xiaofan Chen wrote: > It was not up to date b

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 5:12 PM, Olivier Schonken wrote: > Could you try building with > > ../configure --host=i686-pc-mingw32 --enable-jlink --enable-ft2232_libftdi > in stead of > > ../configure --build=i686-pc-mingw32 --enable-jlink --enable-ft2232_libftdi > > Afaik, --host specifies the cross-

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 4:22 PM, Steve Bennett wrote: > On 10/08/2011, at 6:15 PM, Xiaofan Chen wrote: >> But I am happy now since direct MinGW build works and direct Cygwin >> build also works. > > Thanks. That's good enough for me. > Just for those who can not wait for Freddie Chopin's binary,

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Spencer Oliver
On 10 August 2011 07:11, Steve Bennett wrote: > On 10/08/2011, at 3:03 PM, Xiaofan Chen wrote: > >> On Wed, Aug 10, 2011 at 11:44 AM, Steve Bennett >> wrote: >>> On 10/08/2011, at 9:43 AM, Xiaofan Chen wrote: It was not up to date but very close. Anyway, I just updated it and the issue

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Steve Bennett
On 10/08/2011, at 6:15 PM, Xiaofan Chen wrote: > On Wed, Aug 10, 2011 at 4:11 PM, Xiaofan Chen wrote: >> On Wed, Aug 10, 2011 at 2:11 PM, Steve Bennett >> wrote: >>> On 10/08/2011, at 3:03 PM, Xiaofan Chen wrote: > FYI: I build the release tarball on windows/mingw without any problems. >>>

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 4:11 PM, Xiaofan Chen wrote: > On Wed, Aug 10, 2011 at 2:11 PM, Steve Bennett wrote: >> On 10/08/2011, at 3:03 PM, Xiaofan Chen wrote: FYI: I build the release tarball on windows/mingw without any problems. >>> >>> Glad to know that. As per the previous answer from Sp

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 2:11 PM, Steve Bennett wrote: > On 10/08/2011, at 3:03 PM, Xiaofan Chen wrote: >>> FYI: I build the release tarball on windows/mingw without any problems. >> >> Glad to know that. As per the previous answer from Spen that >> MinGW/Msys is not supported by jimtcl. Is that no

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-10 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 3:34 PM, Olivier Schonken wrote: > Hi Xiaofan > > In my case I struggled with the same problem for  a day or two.  That is why > I need to know if it is the checkout of the version, or the updating of the > mingw32 compiler that fixed the problem. > > After doing the ./boot

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Steve Bennett
On 10/08/2011, at 3:03 PM, Xiaofan Chen wrote: > On Wed, Aug 10, 2011 at 11:44 AM, Steve Bennett > wrote: >> On 10/08/2011, at 9:43 AM, Xiaofan Chen wrote: >>> It was not up to date but very close. Anyway, I just updated it and >>> the issue is still there with the release zip file. I will try t

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 11:44 AM, Steve Bennett wrote: > On 10/08/2011, at 9:43 AM, Xiaofan Chen wrote: >> It was not up to date but very close. Anyway, I just updated it and >> the issue is still there with the release zip file. I will try the git >> tree later. >> >> === configuring in jimtcl >

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Steve Bennett
On 10/08/2011, at 9:43 AM, Xiaofan Chen wrote: > On Tue, Aug 9, 2011 at 11:11 PM, Spencer Oliver wrote: >> On 9 August 2011 16:01, Xiaofan Chen wrote: >>> On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver >>> wrote: >>> Just tested building native windoze under cygwin and working fine here

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Xiaofan Chen
On Wed, Aug 10, 2011 at 7:59 AM, Xiaofan Chen wrote: > On Tue, Aug 9, 2011 at 11:26 PM, Olivier Schonken > wrote: >> Hi Xiaofan >> >> I also experienced the same build error a while ago.  To fix it I manually >> checked out version 0.63 of JimTCL, > > Just wondering how you do that? I mean to as

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Xiaofan Chen
On Tue, Aug 9, 2011 at 11:26 PM, Olivier Schonken wrote: > Hi Xiaofan > > I also experienced the same build error a while ago.  To fix it I manually > checked out version 0.63 of JimTCL, Just wondering how you do that? > and after that, the build went on > without any problems.  I did a git clon

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Xiaofan Chen
On Tue, Aug 9, 2011 at 11:11 PM, Spencer Oliver wrote: > On 9 August 2011 16:01, Xiaofan Chen wrote: >> On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver wrote: >> >>> Just tested building native windoze under cygwin and working fine here. >>> I used the release tarball and the following configure

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Olivier Schonken
llation of cygwin, and it compiled without a hitch. Please let me know if this doesn't help. Regards Olivier Subject: Re: [Openocd-development] 0.5.0 MinGW configure failure Message-ID: Content-Type: text/plain; charset=windows-1252 On Tue, Aug 9, 2011 at 10:05 PM, Xiaofan Chen

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Spencer Oliver
On 9 August 2011 16:11, Spencer Oliver wrote: > On 9 August 2011 16:01, Xiaofan Chen wrote: >> On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver wrote: >> >>> Just tested building native windoze under cygwin and working fine here. >>> I used the release tarball and the following configure line: >>

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Spencer Oliver
On 9 August 2011 16:01, Xiaofan Chen wrote: > On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver 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-mi

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Xiaofan Chen
On Tue, Aug 9, 2011 at 10:20 PM, Spencer Oliver 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-

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Spencer Oliver
On 9 August 2011 15:10, Xiaofan Chen wrote: > On Tue, Aug 9, 2011 at 10:05 PM, Xiaofan Chen wrote: >> On Tue, Aug 9, 2011 at 9:47 PM, Xiaofan Chen wrote: >>> On Tue, Aug 9, 2011 at 9:27 PM, Spencer Oliver wrote: The issue is building using msys under windoze. Using cygwin or linux to

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Xiaofan Chen
On Tue, Aug 9, 2011 at 10:05 PM, Xiaofan Chen wrote: > On Tue, Aug 9, 2011 at 9:47 PM, Xiaofan Chen wrote: >> On Tue, Aug 9, 2011 at 9:27 PM, Spencer Oliver wrote: >>> The issue is building using msys under windoze. >>> Using cygwin or linux to build native win32 (mingw) is not an issue. >>> >>

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Xiaofan Chen
On Tue, Aug 9, 2011 at 9:47 PM, Xiaofan Chen wrote: > On Tue, Aug 9, 2011 at 9:27 PM, Spencer Oliver wrote: >> The issue is building using msys under windoze. >> Using cygwin or linux to build native win32 (mingw) is not an issue. >> > > I remember there were no issues to build MinGW binary under

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Xiaofan Chen
On Tue, Aug 9, 2011 at 9:27 PM, Spencer Oliver wrote: > The issue is building using msys under windoze. > Using cygwin or linux to build native win32 (mingw) is not an issue. > I remember there were no issues to build MinGW binary under Cygwin with the cross compiler with OpenOCD git. But it seem

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Spencer Oliver
On 9 August 2011 14:34, Xiaofan Chen wrote: > On Tue, Aug 9, 2011 at 9:25 PM, Spencer Oliver wrote: >> On 9 August 2011 13:48, Vit Mares wrote: >>> it doesn't seem so, jimsh0.exe is built during configure and is runable. >>> When I start it in MSYS console I get the dot prompt. >>> >> It has bee

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Xiaofan Chen
On Tue, Aug 9, 2011 at 9:25 PM, Spencer Oliver wrote: > On 9 August 2011 13:48, Vit Mares wrote: >> it doesn't seem so, jimsh0.exe is built during configure and is runable. >> When I start it in MSYS console I get the dot prompt. >> > It has been a while since i looked however: > Building jimsh0

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Spencer Oliver
On 9 August 2011 14:13, Jie Zhang wrote: > On Tue, Aug 9, 2011 at 7:52 AM, Vit Mares wrote: >> Attempt to build 0.5.0 with MinGW on Windows XP failed when running >> configure. >> Release 0.4.0 configured and built without problems. > > I downloaded 0.5.0 and built it with mingw-w64 on Debian te

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Spencer Oliver
On 9 August 2011 13:48, Vit Mares wrote: > Hi Spen, > > it doesn't seem so, jimsh0.exe is built during configure and is runable. > When I start it in MSYS console I get the dot prompt. > > Best regards >  Vit > It has been a while since i looked however: Building jimsh0 is not the problem, runnin

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Jie Zhang
On Tue, Aug 9, 2011 at 7:52 AM, Vit Mares wrote: > Attempt to build 0.5.0 with MinGW on Windows XP failed when running configure. > Release 0.4.0 configured and built without problems. I downloaded 0.5.0 and built it with mingw-w64 on Debian testing. The build was successful. But I didn't try the

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Vit Mares
Hi Spen, it doesn't seem so, jimsh0.exe is built during configure and is runable. When I start it in MSYS console I get the dot prompt. Best regards Vit 2011/8/9 Spencer Oliver : > On 9 August 2011 12:52, Vit Mares wrote: >> Attempt to build 0.5.0 with MinGW on Windows XP failed when running

Re: [Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Spencer Oliver
On 9 August 2011 12:52, Vit Mares wrote: > Attempt to build 0.5.0 with MinGW on Windows XP failed when running configure. > Release 0.4.0 configured and built without problems. > > config.status: creating src/pld/Makefile > config.status: creating doc/Makefile > config.status: creating config

[Openocd-development] 0.5.0 MinGW configure failure

2011-08-09 Thread Vit Mares
Attempt to build 0.5.0 with MinGW on Windows XP failed when running configure. Release 0.4.0 configured and built without problems. config.status: creating src/pld/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: