
Hi, I normally don't have a full Cygwin installation only the tools needed to build wireshark ( flex, bison wget etc ) and no *nix system. As it's possible to build libsmi with the same set of tools e.g not using autogen I thought it useful to do the changes... Regards Anders
-----Original Message----- From: Andrew Hood [mailto:ajhood@fl.net.au] Sent: den 26 april 2008 23:59 To: libsmi@ibr.cs.tu-bs.de Cc: Anders Broman Subject: Re: [libsmi] Patches to build generated files on Windows
Anders Broman wrote:
Hi, I have been trying to build the generated files on windows using Cygwin Flex and Bison (avoiding the autogen stuff) and I think I'm almost there The makefile patch can be checked in if you think this is
ok, currently the makefile in ../lib is not called from there.
I don't see the point. The traditional method is to run configure and make in *nix to generate the stuff that MSVC can't build. cygwin will do for that, so there is no obvious reason to change.
You then "mount" that tree on Windows and run nmake in the win directory.
If I wasn't after a DLL, I'd cross compile with mingw on Linux. I haven't managed to get mingw to produce a DLL.
-- There's no point in being grown up if you can't be childish sometimes. -- Dr. Who