|
|
GNU tools for NeXTSTEP 3.3
{\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\ftech Symbol;\f2\fswiss Helvetica;\f3\fmodern Courier;}
\paperw12240
\paperh11200
\margl120
\margr120
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs24\fc0\cf0 Release 3.2 Copyright
\f1 �
\f0 1993 by NeXT Computer, Inc. All Rights Reserved.\
\pard\f2\fs30\fc0\cf0 \
\
\
\f0\fs48\li1440 Preliminary 3.3 Release Notes: \
libg++
\fs30 \
\fs28 \
\
\
\pard\tx1800\li1440\fc0\cf0 This file contains release notes for the initial release of the GNU C++ class library (libg++-2.5.3). \
\
\pard\tx1340\tx2680\tx4020\tx5360\tx6720\tx8060\tx9400\tx10740\tx12080\tx13440\fc0\cf0 \
\b\fs36 New Features\
\pard\b0\fs28\li1440\fc0\cf0 \
This section describes the major GNU changes since the previous release of libg++ \
in NeXTSTEP 3.2. \
\
* The iostream directory is gone. It has been replaced by ../libio.\
One major change is that libiostream.ac(which is built in ../libio) can be used \
indendently of libg++ as in the example illustrated below. However libg++.a also links with libiostream.a internally and therefore, when linking with libg++.a, libiostream.a need not be explicitly specified on the command line. \
\
\b\i #include <stream.h>\
\
main() \{\
cout << "Hi world\\n";\
\}\
\
\b0\i0 and the compilation command would be
\b\i \
\b0\i0 \
\b cc++ test.cc -o tst -liostream\
\
\b0 and executing
\b tst
\b0 would result in\
\
\b Hi world!
\b0 \
\
\
* A few of pseudo-template classes (SLList/DLList) have been \
converted to use real templates. These files can be used as follows:\
\
\b\i #include <stream.h>\
#include <String.h>\
#include <SLList.h>\
\
main()\{\
SLList<String> listOfnames;\
\
listOfnames.append("hello world");\
cout <<listOfnames.remove_front() << "\\n";\
\
\}\
\b0\i0 \
Compiling the above example with\
\
\b cc++ test.cc -lg++
\b0 \
\
and running would result in\
\
\b hello world
\b0 \
\
\
However, no promise is implied about when/if the remaining ones will be converted.\
Hence genclass is still necessary for specific class creation.
\b\fs36\li0 \
\
Notes Specific to Release 3.3\
\pard\tx1340\tx2680\tx4020\tx5360\tx6720\tx8060\tx9400\tx10740\tx12080\tx13440\b0\fs28\fc0\cf0 The stream manipulators declared in the file
\b /NextDeveloper/Headers/g++/iomanip.h
\b0 \
are now supported due to the addition of support for templates in gcc in the current version of NeXTSTEP.\
\
The directive
\f3 #pragma cplusplus
\f0 has been added to every libg++ header that is exported so as to specify C++ linkage. This is due to the new feature in the compiler which enables implicit extern "C" linkage for all system headers unless the above pragma is specified in which case, the C++ linkage is enabled.\
\
\b \
\
\
\
\
\
\
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.