On Sun, May 24, 2009 at 1:01 AM, Zach Welch <z...@superlucidity.net> 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:
>
>        
> http://www.mail-archive.com/openocd-development@lists.berlios.de/msg04166.html

I use Cygwin native environment and follow the instruction of Spen.

I use cygwin shell and
./configure --enable-maintainer-mode --enable-jlink
CC="gcc -mno-cygwin".

> Here are the notes that John Devereux posted for building on CygWin:
>
>        
> http://www.mail-archive.com/openocd-development@lists.berlios.de/msg04261.html

I have rather complete Cygwin development tools installed so I
do not have that issue of missing components. The libusb installation
in the Sparkfun guide is good. If not, the usb.h will not be found.

http://forum.sparkfun.com/viewtopic.php?t=11221
"You need the libusb-win32-device-bin-0.1.12.1.tar.gz packages.
Please extract this file into a temp file. A new folder will be created
called: libusb-win32-device-bin-0.1.12.1

Now copy the file libusb-win32-device-bin-0.1.12.1\include\usb.h
to the following directories:
c:\cygwin\usr\include
c:\cygwin\usr\include\mingw

Even you must copy the library libusb-win32-device-bin-0.1.12.1\lib\gcc\libusb.a
to the following directories:
c:\cygwin\lib
c:\cygwin\lib\mingw

Thanks to Spen for the mingw hint! "

I do not use the stock 0.1.12.1 binary but built myself the trunk version of
libusb-win32 package under Cygwin and/or MinGW/Msys. But the trunk
version itself is a bit old.

-- 
Xiaofan http://mcuee.blogspot.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to