mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
PocketPC with Windows CE support
This commit is contained in:
parent
9d66fa1372
commit
4320d87d4a
1
win32/wince/libxml2.vcb
Normal file
1
win32/wince/libxml2.vcb
Normal file
@ -0,0 +1 @@
|
||||
Microsoft C/C++ program database 2.00
|
122
win32/wince/libxml2.vcl
Normal file
122
win32/wince/libxml2.vcl
Normal file
@ -0,0 +1,122 @@
|
||||
<html>
|
||||
<body>
|
||||
<pre>
|
||||
<h1>Build Log</h1>
|
||||
<h3>
|
||||
--------------------Configuration: libxml2 - Win32 (WCE x86em) Debug--------------------
|
||||
</h3>
|
||||
<h3>Command Lines</h3>
|
||||
Creating temporary file "C:\DOCUME~1\fjvg\CONFIG~1\Temp\RSP12E.tmp" with contents
|
||||
[
|
||||
/nologo /W3 /Zi /Od /I "..\..\..\include" /I "..\..\include" /I "c:\ppc\libxml\XML\win32\wince" /D "DEBUG" /D _WIN32_WCE=300 /D "WIN32" /D "STRICT" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "WIN32_PLATFORM_PSPC" /D "i486" /D UNDER_CE=300 /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Fp"X86EMDbg/libxml2.pch" /YX /Fo"X86EMDbg/" /Fd"X86EMDbg/" /Gz /c
|
||||
"C:\ppc\libxml\XML\DOCBparser.c"
|
||||
"C:\ppc\libxml\XML\encoding.c"
|
||||
"C:\ppc\libxml\XML\entities.c"
|
||||
"C:\ppc\libxml\XML\error.c"
|
||||
"C:\ppc\libxml\XML\globals.c"
|
||||
"C:\ppc\libxml\XML\hash.c"
|
||||
"C:\ppc\libxml\XML\list.c"
|
||||
"C:\ppc\libxml\XML\parser.c"
|
||||
"C:\ppc\libxml\XML\parserInternals.c"
|
||||
"C:\ppc\libxml\XML\SAX.c"
|
||||
"C:\ppc\libxml\XML\threads.c"
|
||||
"C:\ppc\libxml\XML\tree.c"
|
||||
"C:\ppc\libxml\XML\uri.c"
|
||||
"C:\ppc\libxml\XML\valid.c"
|
||||
"C:\ppc\libxml\XML\win32\wince\wincecompat.c"
|
||||
"C:\ppc\libxml\XML\xlink.c"
|
||||
"C:\ppc\libxml\XML\xmlIO.c"
|
||||
"C:\ppc\libxml\XML\xmlmemory.c"
|
||||
"C:\ppc\libxml\XML\c14n.c"
|
||||
"C:\ppc\libxml\XML\catalog.c"
|
||||
"C:\ppc\libxml\XML\debugXML.c"
|
||||
"C:\ppc\libxml\XML\HTMLparser.c"
|
||||
"C:\ppc\libxml\XML\HTMLtree.c"
|
||||
"C:\ppc\libxml\XML\nanoftp.c"
|
||||
"C:\ppc\libxml\XML\nanohttp.c"
|
||||
"C:\ppc\libxml\XML\xinclude.c"
|
||||
"C:\ppc\libxml\XML\xpath.c"
|
||||
"C:\ppc\libxml\XML\xpointer.c"
|
||||
]
|
||||
Creating command line "cl.exe @C:\DOCUME~1\fjvg\CONFIG~1\Temp\RSP12E.tmp"
|
||||
Creating temporary file "C:\DOCUME~1\fjvg\CONFIG~1\Temp\RSP12F.tmp" with contents
|
||||
[
|
||||
corelibc.lib winsock.lib commctrl.lib coredll.lib /nologo /stack:0x10000,0x1000 /dll /incremental:yes /pdb:"X86EMDbg/libxml2.pdb" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /nodefaultlib:oldnames.lib /def:".\libxml2.def" /out:"X86EMDbg/libxml2.dll" /implib:"X86EMDbg/libxml2.lib" /windowsce:emulation /MACHINE:IX86
|
||||
.\X86EMDbg\DOCBparser.obj
|
||||
.\X86EMDbg\encoding.obj
|
||||
.\X86EMDbg\entities.obj
|
||||
.\X86EMDbg\error.obj
|
||||
.\X86EMDbg\globals.obj
|
||||
.\X86EMDbg\hash.obj
|
||||
.\X86EMDbg\list.obj
|
||||
.\X86EMDbg\parser.obj
|
||||
.\X86EMDbg\parserInternals.obj
|
||||
.\X86EMDbg\SAX.obj
|
||||
.\X86EMDbg\threads.obj
|
||||
.\X86EMDbg\tree.obj
|
||||
.\X86EMDbg\uri.obj
|
||||
.\X86EMDbg\valid.obj
|
||||
.\X86EMDbg\wincecompat.obj
|
||||
.\X86EMDbg\xlink.obj
|
||||
.\X86EMDbg\xmlIO.obj
|
||||
.\X86EMDbg\xmlmemory.obj
|
||||
.\X86EMDbg\c14n.obj
|
||||
.\X86EMDbg\catalog.obj
|
||||
.\X86EMDbg\debugXML.obj
|
||||
.\X86EMDbg\HTMLparser.obj
|
||||
.\X86EMDbg\HTMLtree.obj
|
||||
.\X86EMDbg\nanoftp.obj
|
||||
.\X86EMDbg\nanohttp.obj
|
||||
.\X86EMDbg\xinclude.obj
|
||||
.\X86EMDbg\xpath.obj
|
||||
.\X86EMDbg\xpointer.obj
|
||||
]
|
||||
Creating command line "link.exe @C:\DOCUME~1\fjvg\CONFIG~1\Temp\RSP12F.tmp"
|
||||
<h3>Output Window</h3>
|
||||
Compiling...
|
||||
DOCBparser.c
|
||||
encoding.c
|
||||
entities.c
|
||||
error.c
|
||||
globals.c
|
||||
hash.c
|
||||
list.c
|
||||
parser.c
|
||||
C:\ppc\libxml\XML\parser.c(2282) : warning C4090: '=' : different 'const' qualifiers
|
||||
parserInternals.c
|
||||
SAX.c
|
||||
threads.c
|
||||
tree.c
|
||||
uri.c
|
||||
valid.c
|
||||
wincecompat.c
|
||||
C:\ppc\libxml\XML\win32\wince\wincecompat.c(37) : warning C4047: '=' : 'char ' differs in levels of indirection from 'char [2]'
|
||||
C:\ppc\libxml\XML\win32\wince\wincecompat.c(39) : warning C4047: '=' : 'char ' differs in levels of indirection from 'char [2]'
|
||||
C:\ppc\libxml\XML\win32\wince\wincecompat.c(40) : warning C4047: 'return' : 'int ' differs in levels of indirection from 'void *'
|
||||
xlink.c
|
||||
xmlIO.c
|
||||
C:\ppc\libxml\XML\xmlIO.c(2404) : warning C4101: 'dir' : unreferenced local variable
|
||||
C:\ppc\libxml\XML\xmlIO.c(2405) : warning C4101: 'cur' : unreferenced local variable
|
||||
xmlmemory.c
|
||||
c14n.c
|
||||
catalog.c
|
||||
debugXML.c
|
||||
HTMLparser.c
|
||||
HTMLtree.c
|
||||
nanoftp.c
|
||||
nanohttp.c
|
||||
C:\ppc\libxml\XML\nanoftp.c(892) : warning C4761: integral size mismatch in argument; conversion supplied
|
||||
xinclude.c
|
||||
C:\ppc\libxml\XML\nanohttp.c(921) : warning C4761: integral size mismatch in argument; conversion supplied
|
||||
xpath.c
|
||||
xpointer.c
|
||||
Linking...
|
||||
Creating library X86EMDbg/libxml2.lib and object X86EMDbg/libxml2.exp
|
||||
|
||||
|
||||
|
||||
<h3>Results</h3>
|
||||
libxml2.dll - 0 error(s), 8 warning(s)
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
1
win32/wince/libxml2.vco
Normal file
1
win32/wince/libxml2.vco
Normal file
@ -0,0 +1 @@
|
||||
ÐÏࡱ
|
5273
win32/wince/libxml2.vcp
Normal file
5273
win32/wince/libxml2.vcp
Normal file
File diff suppressed because it is too large
Load Diff
41
win32/wince/libxml2.vcw
Normal file
41
win32/wince/libxml2.vcw
Normal file
@ -0,0 +1,41 @@
|
||||
Microsoft eMbedded Visual Tools Workspace File, Format Version 3.00
|
||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "libxml2"=.\libxml2.vcp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "ppcTest"=.\ppcTest\ppcTest.vcp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Global:
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<3>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
61
win32/wince/wincecompat.c
Normal file
61
win32/wince/wincecompat.c
Normal file
@ -0,0 +1,61 @@
|
||||
/*
|
||||
* wincecompat.c : wince compatiblity module
|
||||
*
|
||||
* See Copyright for the status of this software.
|
||||
*
|
||||
* javier@tiresiassoft.com
|
||||
*
|
||||
* 17 Sep 2002 created
|
||||
*/
|
||||
|
||||
#include "wincecompat.h"
|
||||
|
||||
char *strError[]= {"Error 0","","No such file or directory","","","","","Arg list too long",
|
||||
"Exec format error","Bad file number","","","Not enough core","Permission denied","","",
|
||||
"","File exists","Cross-device link","","","","Invalid argument","","Too many open files",
|
||||
"","","","No space left on device","","","","","Math argument","Result too large","",
|
||||
"Resource deadlock would occur", "Unknown error under wince"};
|
||||
|
||||
|
||||
int errno=0;
|
||||
|
||||
int read(int handle, char *buffer, unsigned int len)
|
||||
{
|
||||
return(fread(&buffer[0], len, 1, (FILE *) handle));
|
||||
}
|
||||
|
||||
int write(int handle, const char *buffer, unsigned int len)
|
||||
{
|
||||
return(fwrite(&buffer[0], len,1,(FILE *) handle));
|
||||
}
|
||||
|
||||
int open(const char *filename,int oflag, ...)
|
||||
{
|
||||
char mode[3]; /* mode[0] ="w/r/a" mode[1]="+" */
|
||||
mode[2]=0;
|
||||
if ( oflag==(O_WRONLY|O_CREAT) )
|
||||
mode[0]="w";
|
||||
else if (oflag==O_RDONLY)
|
||||
mode[0]="r";
|
||||
return fopen(filename, mode);
|
||||
|
||||
}
|
||||
|
||||
int close(int handle)
|
||||
{
|
||||
return ( fclose((FILE *) handle) );
|
||||
}
|
||||
|
||||
|
||||
char *getenv( const char *varname )
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
char *strerror(int errnum)
|
||||
{
|
||||
if (errnum>MAX_STRERROR)
|
||||
return strError[MAX_STRERROR];
|
||||
else
|
||||
return strError[errnum];
|
||||
}
|
40
win32/wince/wincecompat.h
Normal file
40
win32/wince/wincecompat.h
Normal file
@ -0,0 +1,40 @@
|
||||
/*
|
||||
* wincecompat.h : wince compatiblity header file
|
||||
*
|
||||
* See Copyright for the status of this software.
|
||||
*
|
||||
* javier@tiresiassoft.com
|
||||
*
|
||||
* 17 Sep 2002 created
|
||||
*/
|
||||
|
||||
#ifndef __WINCECOMPAT_H__
|
||||
#define __WINCECOMPAT_H__
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define MAX_STRERROR 31
|
||||
|
||||
#define O_RDONLY 0x0000 /* open for reading only */
|
||||
#define O_WRONLY 0x0001 /* open for writing only */
|
||||
#define O_RDWR 0x0002 /* open for reading and writing */
|
||||
#define O_APPEND 0x0008 /* writes done at eof */
|
||||
|
||||
#define O_CREAT 0x0100 /* create and open file */
|
||||
#define O_TRUNC 0x0200 /* open and truncate */
|
||||
#define O_EXCL 0x0400 /* open only if file doesn't already exist */
|
||||
|
||||
extern int errno;
|
||||
/*
|
||||
Prototypes
|
||||
*/
|
||||
int read(int handle, char *buffer, unsigned int len);
|
||||
int write(int handle, const char *buffer, unsigned int len);
|
||||
int open(const char *filename,int oflag, ...);
|
||||
int close(int handle);
|
||||
char *getenv( const char *varname );
|
||||
char *strerror(int errnum);
|
||||
|
||||
#define perror(_t) MessageBox(NULL, _T("_t"), _T("Error/Warning"), MB_OK)
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user