Re: [Openocd-development] Compile issue on mingw on current svn

2009-05-15 Thread John Devereux
Francois Lorrain writes: [...] > > Ok, no particular love for cygwin or mingw32, but the compiler for > cygwin is fairly old ... > > So I try a complete cygwin build of openocd, I end up with : > > make[3]: entrant dans le répertoire « /Workspace-1/openocd/src/helper » > /bin/sh ../../libtool -

Re: [Openocd-development] Compile issue on mingw on current svn

2009-05-15 Thread Francois Lorrain
On Wed, May 13, 2009 at 9:03 PM, Spencer Oliver wrote: >> >> No, I still have the same problem with r1776. >> >> there are some uint32_t uses in replacement.h which are not recognized >> - I don't have an elf.h system include. >> >> export CPPFLAGS="-IC:/libusb-win32-device-bin-0.1.12.1/include" >

Re: [Openocd-development] Compile issue on mingw on current svn

2009-05-13 Thread Spencer Oliver
> > No, I still have the same problem with r1776. > > there are some uint32_t uses in replacement.h which are not recognized > - I don't have an elf.h system include. > > export CPPFLAGS="-IC:/libusb-win32-device-bin-0.1.12.1/include" > export LDFLAGS=-LC:/libusb-win32-device-bin-0.1.12.1/lib/gc

Re: [Openocd-development] Compile issue on mingw on current svn

2009-05-13 Thread Francois Lorrain
On Wed, May 13, 2009 at 1:21 PM, Zach Welch wrote: > On Wed, 2009-05-13 at 03:17 -0700, Zach Welch wrote: >> On Wed, 2009-05-13 at 12:00 +0200, Francois Lorrain wrote: >> [snip] >> > 2)  It looks like the stdint.h need to be included in system.h, not >> > types.h, otherwise binarybuffer.c does not

Re: [Openocd-development] Compile issue on mingw on current svn

2009-05-13 Thread Spencer Oliver
> 4) This one is blocking, during the compilation of openocd.c, > there is a syntax error around -DPKGBLDDATE=\"`date +%F-%R`\" > I am not sure how to fix it ... > > mingw32-make[3]: Entering directory `c:/Workspace-1/openocd/src' > C:/cygwin/bin/sh.exe ../libtool --tag=CC --mode=compile mi

Re: [Openocd-development] Compile issue on mingw on current svn

2009-05-13 Thread Zach Welch
On Wed, 2009-05-13 at 03:17 -0700, Zach Welch wrote: > On Wed, 2009-05-13 at 12:00 +0200, Francois Lorrain wrote: > [snip] > > 2) It looks like the stdint.h need to be included in system.h, not > > types.h, otherwise binarybuffer.c does not compile > > I have a better fix in mind; please do not a

Re: [Openocd-development] Compile issue on mingw on current svn

2009-05-13 Thread Zach Welch
On Wed, 2009-05-13 at 12:00 +0200, Francois Lorrain wrote: [snip] > 2) It looks like the stdint.h need to be included in system.h, not > types.h, otherwise binarybuffer.c does not compile I have a better fix in mind; please do not apply this patch. Thanks. --Z ___

[Openocd-development] Compile issue on mingw on current svn

2009-05-13 Thread Francois Lorrain
Hello, Trying to compile the SVN version after the recent changes on windows I am compiling a mingw version using the cygwin tools with mingw32-make, mingw32-gcc - it has worked for me before. I have a couple of issue with one blocking from finishing the compilation. 1) I have a small local patc