From: Dave Cook (DCook@widcomm.com)
Date: Mon Feb 26 2001 - 13:23:13 EST
I saw a question here recently about building on Cygwin. Though I'm not a
regular list member I successfully hacked my way thru this task (at least to
get a static library) over the weekend on and wanted to share the how-to.
Platform description: Cygwin 1.1.7 on Win2K with Service Pack 1 installed.
1) First you must modfiy xmlversion.h.in to NOT define the import macro as
__declspec(dllimport) when WIN32 is defined. Just change that line to
declare the macro with no value. This is the key to making the build work.
Otherwise the make explodes -- as another poster observed-- with many
undefined symbols when xmllint (or any other program!) is linked.
2) ./configure --without-iconv --disable-corba --disable-dynamic
3) make
Now when I did 'make tests' I got one minor discrepancy in the entity ref
test (possibly having to do with no iconv) and a more significant one on two
files in the HTML SAX push tests where the last arg to SAX.characters() is
off by 1 to a few bytes. This last might have to do with CRLF handling
settings in cygwin, or it could actually represent a platform dependence
bug.
Regards,
David B. Cook
Staff Scientist
WIDCOMM Inc.
9645 Scranton Road
San Diego, CA 92121
---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Mon Feb 26 2001 - 16:43:53 EST