On Sat, Sep 11, 2010 at 10:34 AM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Sat, Sep 11, 2010 at 2:44 PM, Ozkan Sezer <seze...@gmail.com> wrote:
>>> I will carry out more tests but it seems there are performance issues
>>> when using the MinGW-w64 build of libusb0.sys compared to the WDK
>>> build, especially when using as a filter driver. I am wondering if this can
>>> be the consequences of linking to libmingwex. And linking to libmingwex
>>> is anyway a hack right now.
>>
>> Try adding the attached inlines to your wdm.h (I think around line 242 just
>> before the #endif /* defined(__GNUC__) */ ) and remove the -lmingwex
>> from your makefile.  These are the Interlocked* inlines from winnt.h made
>> into static inlines.  let's see if that makes a difference.
>>
>
> It will still producing the following linking errors. Take note the 
> underscore.
>

Well, that should be the easy part to fix, see the new version attached
(was my fault forgetting to add the underscores)

Try a recompile with this and see
- if the likage succeds
- if you still have a performance issue by comparison to the msvc builds

--
Ozkan

Attachment: interlocked_inlines
Description: Binary data

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to