This is a fairly complete port of STLport 4.6.2 intended for modern
C++ development. The complete STLport iostreams is implemented along with
the usual template-based containers, algorithms and iterators.
Quick instructions for installation:
1. download and unarchive contents
2. cd src/
3. make -f gcc-amigaos.mak
4. cd test/eh/
5. make -f gcc-amigaos.mak
6. verify test suite runs without error
7. cd src/
8. make -f gcc-amigaos.mak install
From now on you can choose to use STLport by using a command line
similar to the following:
g++ -I <inc-dir> <in-file> -L <lib-dir> -lstlport_gcc -o <out-file>
where:
out-file = output file name
in-file = source file name
inc-dir = SDK:Local/clib2/include/stlport
lib-dir = SDK:Local/clib2/lib
STLport is very ISO C++ compliant, compact and efficient. It interfaces
directly with the underlying C library to implement its features. In a
simple hello world test program the executable was about 150 KB smaller.
I have not yet done any performance testing but STLport is well known
for its speed advantages on other platforms.
STLport also includes a very powerful debug mode. When active, the debug
mode will add assertions and checks thoughout the library and can be a
great benefit in finding latent library usage bugs the compiler has
missed.
I've configured STLport so that it is a drop-in replacement for the C++
library included with GCC. It embeds inself into the std namespace so
you should be able to switch from/to STLport by simply changing the
compiler options. No other configuration should be required.
Please note that I've removed a bunch of files and directories to
reduce the size of the archive instead of providing diffs. You can
download the original full archive from the main STLport site.
More information about STLport can be found at http://www.stlport.org/
| |