On Thu, Nov 4, 2010 at 5:24 AM, Frédéric Bohé <[email protected]> wrote:
> It is generated from the winevent.mc file.
> This is what I do to work with windows event log (Registry edition will
> be done by an installer in the future. Arnaud is working on automatic
> winevent.h and winevent.dll generation):
>
> Run the following commands :
>
> windmc winevent.mc
> windres winevent.rc winevent.o
> dllwrap --output-lib=libwinevent.a --dllname=winevent.dll
> --driver-name=gcc winevent.o

As a data point, I can't get this newer version of binutils to grok
that file, either:

$ i386-win32-windmc winevent.mc
In winevent.mc at line 1: parser: syntax error.
In winevent.mc at line 1: fatal: syntax error.

$ i386-win32-windmc --version
GNU windmc (GNU Binutils) 2.20.1.20100303

(from the i386-win32-binutils package in fink, which might not be
fully compatible with the mingw-binutils package - I'm just trying to
find a lower bound on the required version of binutils for
cross-compiling.)

I'll try to add some debugging statements to the parser, but it looks
syntactically correct according to the yacc grammar.

-- 
- Charles Lepple

_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to