Re: [Openocd-development] Building OpenOCD with Cygwin

2009-05-23 Thread Xiaofan Chen
On Sun, May 24, 2009 at 1:01 AM, Zach Welch wrote: > On Sun, 2009-05-24 at 00:38 +0800, SimonQian wrote: >> Add #include "stdint.h" in replacements.h to solve this problem. >> > > There has been a report of this in the past, but I thought that it > turned out to be a red herring: > >         > htt

Re: [Openocd-development] Building OpenOCD with Cygwin

2009-05-23 Thread Xiaofan Chen
On Sun, May 24, 2009 at 12:52 AM, Xiaofan Chen wrote: > 2009/5/24 SimonQian : >> Add #include "stdint.h" in replacements.h to solve this problem. >> > > Thanks. It seems to help. Cygwin is really slow here so it is > still building. > > Maybe I should learn to cross-compile OpenOCD under > Linux f

Re: [Openocd-development] Building OpenOCD with Cygwin

2009-05-23 Thread Zach Welch
On Sun, 2009-05-24 at 00:38 +0800, SimonQian wrote: > Add #include "stdint.h" in replacements.h to solve this problem. > There has been a report of this in the past, but I thought that it turned out to be a red herring: http://www.mail-archive.com/openocd-development@lists.berlios.de/m

Re: [Openocd-development] Building OpenOCD with Cygwin

2009-05-23 Thread Xiaofan Chen
2009/5/24 SimonQian : > Add #include "stdint.h" in replacements.h to solve this problem. > Thanks. It seems to help. Cygwin is really slow here so it is still building. Maybe I should learn to cross-compile OpenOCD under Linux for Windows. -- Xiaofan http://mcuee.blogspot.com _

Re: [Openocd-development] Building OpenOCD with Cygwin

2009-05-23 Thread SimonQian
Add #include "stdint.h" in replacements.h to solve this problem. 2009-05-24 Best Regards, Simon Qian SimonQian(simonq...@simonqian.com) www.SimonQian.com 发件人: Xiaofan Chen 发送时间: 2009-05-24 00:36:17 收件人: Openocd-Dev 抄送: 主题: [Openocd-development] Building OpenOCD w

[Openocd-development] Building OpenOCD with Cygwin

2009-05-23 Thread Xiaofan Chen
With the help of the SparkFun thread, http://forum.sparkfun.com/viewtopic.php?t=11221 I was tryam going to build OpenOCD but somehow it failed. $ ./configure --enable-maintainer-mode --enable-jlink CC="gcc -mno-cygwin" CFLAGS="-O0 -g -Wall" This is ok. But make failed. mc...@acerpc ~/mcu/openocd/