Re: [Autogen-users] autoopt and Windows . . .
Brought to you by:
bkorb
From: Geof S. <Geo...@ut...> - 2009-10-08 19:41:13
|
Hi Aaron, Thanks for your pointers on this, and congrats on your tcpreplay project. I'm attempting to do this on the MinGW path so that we can distribute without Cygwin dependencies . . . I'll let you know how it goes! Geof > -----Original Message----- > From: Aaron Turner [mailto:syn...@gm...] > Sent: Wednesday, October 07, 2009 11:09 AM > Cc: Geof Sawaya; autogen > Subject: Re: [Autogen-users] autoopt and Windows . . . > > On Wed, Oct 7, 2009 at 7:32 AM, Bruce Korb <bk...@gn...> wrote: > > Hi Geof, > > > > On Tue, Oct 6, 2009 at 8:52 PM, Geof Sawaya <Geo...@ut...> > wrote: > >> Hi Bruce, > >> > >> I have our Linux build working fine, your suggestions made it much > cleaner. > >> > >> But our project also includes a Windows build. > >> It appears that I'm clueless on how to build the libopt library for > Windows. > >> > >> After tweaking #includes (including adding windows-config.h to *- > opts.h) > >> and commenting out windows-config.h: typedef unsigned long > uintptr_t > >> (because it is defined in VC/include/vadefs.h, and the types look > similar), > > > > I can fix the configure script to cope with this. > > I wish I could understand why MSoft had to go find new and better > > headers for stashing stuff like that. :( > > > >> I'm getting unresolved linker errors on optionProcess and my > *Options > >> struct. > >> > >> Can you give me an easy recipe to build this? > > > > Unfortunately, I cannot. Hopefully, someone on the users list may > have > > some good suggestions. I do not use Windows myself. > > Geof, > > I'm not a big windows user by anymeans, but I have been able to build > autogen & use autoopts under Windows w/ Cygwin via gcc in my own > project. Doesn't seem to be any way to build it natively under > Windows though that I'm aware of. > > I documented the steps necessary to get Autogen working properly under > Cygwin here: > http://tcpreplay.synfin.net/trac/browser/trunk/docs/Win32Readme.txt > > Code which compiles under Cygwin is here: > http://tcpreplay.synfin.net/trac/browser/branches/3.4 > > and is available via svn: > > https://www.synfin.net/svn/tcpreplay/branches/3.4 > > Honestly, I never had to do anything like you're describing above so I > don't have a good answer for you. > > -- > Aaron Turner > http://synfin.net/ > http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & > Windows > Those who would give up essential Liberty, to purchase a little > temporary > Safety, deserve neither Liberty nor Safety. > -- Benjamin Franklin |