]> git.saurik.com Git - wxWidgets.git/blame - docs/base/readme.txt
Fix Cygwin and MinGW compilation
[wxWidgets.git] / docs / base / readme.txt
CommitLineData
22b41d3e
VZ
1 wxBase README
2 =============
2224580a 3
22b41d3e
VZ
4NB: this file applies to wxBase library only. If you are using a GUI version
5 of wxWindows, please refer to the documentation in the appropriate
6 subdirectory (msw, gtk, motif &c).
2224580a 7
2224580a 8
22b41d3e
VZ
9 Welcome to wxBase!
10
110. Introduction
12---------------
13
14 wxBase is the library providing most of the non-GUI classes of the wxWindows
15cross-platform C++ framework. wxBase has some generic classes such as yet
16another C++ string class, typesafe dynamic arrays, hashes and lists and, more
17excitingly, wxDateTime - a very flexible and powerful class for manipulating
18the dates in the range of 580 million years with up to millisecond precision.
19Another useful class not present in the standard C++ library is wxRegEx which
20allows you to use regular expressions for string matching and replacing.
21
22 There are also classes for writing portable programs in C++ painlessly which
23encapsulate things like files (and their names), directories, processes,
24threads, sockets and much more. Some of the other utility classes allow you to
25parse the command line, limit the number of instances of your program
26executing simultaneously (portably!) and so on.
27
281. Requirments and supported platforms
29--------------------------------------
30
31 wxBase can be compiled and used under Win32, mostly any modern Unix system
32(probably including Mac OS X but it wasn't tested there), VMS and BeOS (this
33release couldn't be tested under these platforms neither so you might
34encounter some problems but they should be easy to solve - please contact us
35in this case!)
36
37 It is written without using any modern C++ features (such as templates,
38exceptions, namespaces) for maximal portability and so you shouldn't have
39problems compiling it with any C++ compiler at all. However, we only provide
40the project files for Microsoft Visual C++ 6.0 for Win32 (any contributions
41are welcome!) - but our Unix makefiles will work with any compiler.
42
432. Installing under Win32
44-------------------------
45
46Please note that wxBase can be compiled in different configurations under
47Win32: as a static or shared library, in debug or release mode and in ANSI
48or Unicode mode for a total of 8 possibilities.
49
50a) Using Visual C++ 6.0
51
52 Simply open the src/wxBase.dsw file in MSDEV and build it. When it is
53done you can also open samples/console/console.dsp project and build it as
54well.
55
56b) Cygwin
57
58 Please refer to the Unix section below
59
60c) Other compilers
61
62 Unfortunately we don't have the makefiles for any other compilers yet.
63Please contact us if you would like to help us with creating one for the
64compiler you use.
65
663. Installing under Unix/BeOS
67-----------------------------
68
69NB: If you're building wxBase from the wxWindows distribution and not from a
70 separate wxBase one you will need to add "--disable-gui" to configure
71 arguments below!
72
73Please note that GNU make is required to build wxBase!
74
75The recommended way to build wxBase is:
76
77 % cd ..../wxWindows
78 % mkdir base-release
79 % cd base-release
80 % ../configure
81 # ignore the error messages about missing samples
82 % make
83 % make install
84
85You can also do:
86
87 % mkdir base-debug
88 % cd base-debug
89 % ../configure --enable-debug
90 % make
91
92To build the sample then cd to samples/console and make there.
93
944. Documentation and support
95----------------------------
96
97 The console sample provided with this distribution tests most (but not all)
98wxBase classes. It doesn't do anything useful per itself but you may want to
99look at its code to see examples of usage of the class you are interested in.
100
101 There is no separate documentation for wxBase, please refer to wxWindows
102documentation instead.
103
104 Support for wxBase is available from the same places as for wxWindows itself,
105namely:
106
107* Usenet newsgroup comp.soft-sys.wxwindows
108
109* Mailing lists: see http://lists.wxwindows.org/ for more information
110
111* WWW page: http://www.wxwindows.org/
112
113
114 Hope you will find wxBase useful!
115
116 Vadim Zeitlin
117
118
119This file is accurate for the version 2.3.2 of wxBase. It was last modified on
120Dec 11, 2001.
2224580a 121