-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME.win32
89 lines (63 loc) · 2.88 KB
/
README.win32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
-= Compiling LibAxl under Microsoft Windows =-
1. Intro
~~~~~~~~
There are two know ways to compile LibAxl under windows: using gcc
tools, provided by the mingw project [1] or using one of the Microsoft
C compilers.
In any case, you must take into consideration these basic steps for
both:
1) You must create an axl_config.h file, using the
axl_config_win32.h (for 32bits) or axl_config_win64.h (for
64bits) provided under src/. Just rename it.
2) If you are using Microsoft C compilers, you must ensure you can
have access to the _vscprintf function or not. If you can, which
is the recomended, you must define a preprocessor as follows:
HAVE_VSCPRINTF
See axl_stream_vprintf_len function inside the axl_stream.c
module to get a more accurate idea.
If you can't get access to such function (which is relatively
recent), just do nothing. This will make Axl Library to use
default implementation for the axl_stream_strdup* family of
functions to be limited to 8192 bytes.
In many cases this isn't a problem, but you are adviced.
2. GCC and Mingw
~~~~~~~~~~~~~~~~
This is default platform we are using to get LibAxl working under
windows. It is showed to get really good results and good performance,
however there is a problem. Gcc tools do not produce a debug
information format that could be used by Microsoft tools.
Obviously, if this is not a problem for you, then you don't have any
problem, and, under this situation we recomend to use gcc as default
compilation tool.
You can use makefiles (Makefile.win) provided inside the src, ns and
test directory to compile Axl.
3. Microsoft compilers
~~~~~~~~~~~~~~~~~~~~~~
Axl library is tested to compile and run properly using Visual C 6.0,
Visual Studio 2005 and its express edition.
With the source code are provided visual studio project files to make
it easy to compile LibAxl. See libaxl.sln under the top source
directory.
4. Testing build done
~~~~~~~~~~~~~~~~~~~~~
Whatever you compiler is, you must execute the test_01 regression
test, found inside the test/ directory to ensure your build will
provide proper function. All tests must be passed without any warning
(or understanding why those warnings happens and how they may affect
to your product).
5. Futher information and resources
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Remember you can get more information at [1], [2], [3] and [4].
If you want commercial support, contact us directly at: [email protected]
(either Spanish or English).
A limited community support, according to the colaboration received,
is also provided at the mailing list [4].
6. Resources
~~~~~~~~~~~~
[1] [Mingw project] http://www.mingw.org
[2] [Axl library project] http://xml.aspl.es
[3] [ASPL homepage] http://www.aspl.es
[3] [ASPL mailing list] http://lists.aspl.es
--
Francis Brosnan Blázquez