views:

20

answers:

1

I am writing C program on Windows with MingW and want to use EXPAT XML library. I want to compile my program statically, so I need static .a library.

Is there any way to compile EXPAT to .a static, independent library on Windows?

A: 

I just downloaded and built the package, it appears to have made a static library by default. What's not working for you?

Carl Norum
What is your 'build'? Because I have no cygwin so I can't build the linux source, which use autoconf, and no MSVC, so I can't build the windows source.And I need .a, not .lib, .dll or .so.
Nat