Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Windows build environment

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Mon, 16 Jan 2012 09:39:19 -0000

> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-
> bounces@xxxxxxxxxxxxx] On Behalf Of Andriy Beregovenko
> Sent: 13 January 2012 23:14
> To: wireshark-dev@xxxxxxxxxxxxx
> Subject: Re: [Wireshark-dev] Windows build environment
> 
> Hi Graham,
> 
> Oh, this is very actual issue.
> 
> My personal "wishlist" consist of two things:
> 1. Generation of register.c must be completely reworked, cause most times
I
> must wait about 15-20 minutes when recompiling sources; 2. Make CMake
> default for win-platform building is really good idea.
> 

Are you using a platform native build of python or the Cygwin version?  A
platform native build should faster.  When I've been doing intensive work on
a single dissector I've commented out the bit of Makefile.nmake that
generates register.c when it wasn't required.

As the generation of register.c uses Python across all platforms replacing
it would require another cross platform solution, and as my guess is that
the generation is I/O bound moving to a compiled rather than an interpreted
solution may not improve things.