On Wed, Oct 7, 2009 at 7:32 AM, Bruce Korb <bk...@gnu.org> wrote:
> Hi Geof,
>
> On Tue, Oct 6, 2009 at 8:52 PM, Geof Sawaya <geof.saw...@utah.edu> 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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to