• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1==================================================
2STLport README for Digital Mars C++ compilers.
3==================================================
4
5Build of STLport with Digital Mars C++ compiler is very similar
6to the one for Microsoft Visual Studio compiler (see README.msvc).
7
8Below are some additional hints. [DMC users are encouraged to
9contribute additional information.]
10
11=============
12Prerequisites
13=============
14
15 - Digital Mars C++ 8.49 or above
16
17 - A GNU environment with make tool. Prefer MinGW/MSys to Cygwin because the
18   latter contains a link command that is also the name of the Digital Mars linker
19   and you might experiment collision between both commands.
20   See README.mingw for additional information.
21
22===================
23Installing STLport
24===================
25
26 - STLport directory can be almost anywhere EXCEPT native dm\include directory.
27
28===================
29Configuring STLport
30===================
31
32 - In a console window go to the STLport build\lib folder. Run
33
34	  configure -c dmc
35
36================
37Building STLport
38================
39
40 - To build STLport libraries:
41
42    cd [STLport dir]\build\lib
43    [mingw32-make] -f dmc.mak install
44
45 - To build STLport (dynamic) unit tests:
46
47    cd [STLport dir]\build\test\unit
48    [mingw32-make] -f dmc.mak install
49
50============
51Known issues
52============
53
541. typeinfo.h
55
56  DMC forces inclusion of typeinfo.h header at the begining of any
57translation unit. This breaks the STLport include schema, especially
58when building the library. As a workaround STLport typeinfo.h simply
59include native DMC header not performing any internal STLport work as
60importing things to STLport namespace. As a result typeinfo.h should
61never be reference in user code, as it is neither a C nor a C++ header
62this is not considered as a major limitation. The C++ Standard header
63is typeinfo.
64
652. link.exe and lib.exe
66
67  STLport makefiles for DMC use dm_link and dm_lib instead of link and lib to
68avoid conflicts with other vendors' linkers and archivers.  To build STLport
69with DMC, please copy or rename the following files:
70
71  copy dm\bin\link.exe dm\bin\dm_link.exe
72  copy dm\bin\lib.exe dm\bin\dm_lib.exe
73
743. Free online version.
75
76  If DMC's free online version reports compiler or linker errors, the
77solution may be in a free online CD update.  Download and unzip all free
78CD patches for versions 8.30 and above, in consecutive order, overwriting
79previous files. Then install free online version 8.49 or above, overwriting
80previous files.
81
82