RE: [xml] Any one has a makefile for xmllint on Win32 platform pl ease help



Here, this could prove useful.

xmllint.c was not prepared to compile under VC++ for various reasons, the
biggest of which being the fact that Microsoft's C runtime does not have a
'gettimeofday' function. I have attached a modified xmllint.c which contins
an own implementation of 'gettimeofday' when being compiled against MS C
runtime.

I also attached a new VC++ project file which causes xinclude.c and list.c
to be compiled along with the rest.

You first have to compile libxml using this project file, then compile
xmllint from the command line using the following statement from the command
line:

  cl /D"WIN32" /I"include" /MD 
     win32/libxml2/debug_a/libxml2.lib xmllint.c
 
Have fun
Igor


-----Original Message-----
From: ming lu [mailto:lu542 home com]
Sent: Sunday, March 11, 2001 6:28 PM
To: xml gnome org
Subject: [xml] Any one has a makefile for xmllint on Win32 platform please
help


I just can't make xmlKeepBlanksDefault work (2.3.3,2.3.4). Really want to
use xmllint to test the library. TIA
 

Attachment: xmllint.c
Description: Binary data

Attachment: libxml2_a.dsp
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]