Re: [Mingw-w64-public] libusb-win32 64bit device driver building with MinGW-w64

2010-09-09 Thread Ozkan Sezer
On Fri, Sep 10, 2010 at 9:47 AM, Xiaofan Chen wrote: > On Fri, Sep 10, 2010 at 2:07 PM, Ozkan Sezer wrote: > >> Well, src/driver/usbdlib_gcc.h at line around 23, I added : >> >> #if !defined(DDKAPI) >> #define DDKAPI NTAPI >> #endif >> >> ... and error.c compiled just fine. >> > > Thanks a lot fo

Re: [Mingw-w64-public] libusb-win32 64bit device driver building with MinGW-w64

2010-09-09 Thread Xiaofan Chen
On Fri, Sep 10, 2010 at 2:07 PM, Ozkan Sezer wrote: > Well, src/driver/usbdlib_gcc.h at line around 23, I added : > > #if !defined(DDKAPI) > #define DDKAPI NTAPI > #endif > > ... and error.c compiled just fine. > Thanks a lot for the fast help. Now every files can be compiled. The linking step f

Re: [Mingw-w64-public] libusb-win32 64bit device driver building with MinGW-w64

2010-09-09 Thread Ozkan Sezer
On Fri, Sep 10, 2010 at 7:24 AM, Xiaofan Chen wrote: > On Fri, Sep 10, 2010 at 12:16 PM, Xiaofan Chen wrote: >> Now it is getting very close. Hopefully you guys have some idea >> to fix this last problem. Thanks a lot. >> >> mc...@mcuee-pc-win7 /d/work/mingw-w64/libusb-win32-src-1.2.1.20 >> $ mak

Re: [Mingw-w64-public] libusb-win32 64bit device driver building with MinGW-w64

2010-09-09 Thread Xiaofan Chen
On Fri, Sep 10, 2010 at 12:16 PM, Xiaofan Chen wrote: > Now it is getting very close. Hopefully you guys have some idea > to fix this last problem. Thanks a lot. > > mc...@mcuee-pc-win7 /d/work/mingw-w64/libusb-win32-src-1.2.1.20 > $ make driver -i > gcc -c ./src/error.c -o error.o -O2 -Wall -mno-

Re: [Mingw-w64-public] libusb-win32 64bit device driver building with MinGW-w64

2010-09-09 Thread Xiaofan Chen
On Thu, Sep 9, 2010 at 7:50 AM, Xiaofan Chen wrote: > On Thu, Sep 9, 2010 at 3:53 AM, Ozkan Sezer wrote: >> I made some progress:  I checked out branches/libusb-testing/ from >> your libusb-win32 svn, I tried compiling src/driver/abort_endpoint.c >> and it succeeded with the following changes: >>

[Mingw-w64-public] w32 snapshot 20100902 (darwin) is failing in tree_mem_ref_addr, at tree-ssa-address.c:278

2010-09-09 Thread Luis Lavena
Hello, using the automated snapshots for darwin (mingw-w32-bin_i686-darwin_20100902.tar.bz2) On Snow Leopard, trying to cross compile Ruby, I hit a wall: i686-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wn

Re: [Mingw-w64-public] 64-bit reimp?

2010-09-09 Thread Chris Sutcliffe
On 9 September 2010 10:47, JonY wrote: > On 9/9/2010 11:19, NightStrike wrote: >> >> Maybe gendef can help you if you have a dll. > > To elaborate more, you can use gendef to make a def exports list, and use > dlltool to make the import lib. I will take this approach. > I haven't tried it but, I

Re: [Mingw-w64-public] 64-bit reimp?

2010-09-09 Thread JonY
On 9/9/2010 11:19, NightStrike wrote: > Maybe gendef can help you if you have a dll. > To elaborate more, you can use gendef to make a def exports list, and use dlltool to make the import lib. I haven't tried it but, I think you can also link directly with the dll like a 32bit toolchain does wi

Re: [Mingw-w64-public] Canadian cross still broken?

2010-09-09 Thread JonY
On 9/9/2010 19:45, Mario Emmenlauer wrote: >> 2010/9/9 JonY: >>> On 9/9/2010 12:36, Nils Woetzel wrote: >> cd gcc-4.5.1-build >> ln -s /mypath/x86_64-w64-mingw32 ./mingw >> >> assuming, that you are building/configuring gcc in the folder >> gcc-4.5.1-build - otherwise whatever p

Re: [Mingw-w64-public] Canadian cross still broken?

2010-09-09 Thread Mario Emmenlauer
> 2010/9/9 JonY : >> On 9/9/2010 12:36, Nils Woetzel wrote: > cd gcc-4.5.1-build > ln -s /mypath/x86_64-w64-mingw32 ./mingw > > assuming, that you are building/configuring gcc in the folder > gcc-4.5.1-build - otherwise whatever path > I guess the howto assumes that /mypath

Re: [Mingw-w64-public] Canadian cross still broken?

2010-09-09 Thread Kai Tietz
2010/9/9 JonY : > On 9/9/2010 12:36, Nils Woetzel wrote: cd gcc-4.5.1-build ln -s /mypath/x86_64-w64-mingw32 ./mingw assuming, that you are building/configuring gcc in the folder gcc-4.5.1-build - otherwise whatever path I guess the howto assumes that /mypath is also t