Ethereal-dev: Re: [ethereal-dev] linux - win compile

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 12 Jul 2000 10:00:22 -0500
On Wed, Jul 12, 2000 at 06:46:39AM -0500, Frank Singleton wrote:
> Hi,
> 
> I have  been doing some dissector work here 
> on linux using the development tree(autogen/make) approach,
> and want to try out the source code on windows 
> for my colleagues with MS visual c 5.0.
> 
> Have read a few mail and readmes, but if someone
> can point me in the right direction on how much
> I can "build" on the linux box before attempting
> an nmake -f Makefile.nmake or whatever on the
> MS box, that would be good.
> 
> There appear to be a lot of targets in the Makefile
> and not sure what to use to make a windows source
> tree thats compilable :-)
> 
> ie: My linux box has lex and bison and all that
> good stuff, but the MS box only has the visual C
> and gtk/wincap stuff. I have buit a stable release
> ok, but nothing from the dev tree + my dissectors
> on windows 

The generated sources that require Unix-ish tools are

register.c
dfilter-grammar.c
dfilter-grammar.h
dfilter-scanner.c
wiretap/ascend-grammar.c
wiretap/ascend-grammar.h
wiretap/ascend-scanner.c

With those and the source tree, you should be able
to compile on Windows with no tools other than MSVC.

--gilbert