|
Hi,
I am working on a porting problem of a C++ application from Sun Solaris CC compiler to GNU c++ compiler. Due to certain license restrictions, i want to compile the C++ code using freely available GNU c++(The C++ application is stable and is earlier built using Sun Solaris CC).
The Application uses the old RW libraries (RWCString, RWCCollectableString, etc). The Shared library is available as librwtool.so.2. But the header files (cstring.h,rwset.h,hashtab.hetc)for tools.h++ comes under "/opt/SUNWspro/SC4.2/include/CC/rw7/rw/". I have tried to compile the application by manually including the path "/opt/SUNWspro/SC4.2/include/CC/rw7/rw/" in the command line option:
"g++ -I/opt/SUNWspro/SC4.2/include/CC/rw7/rw/ ....."
The above although starts compiling as the header files can be traced, but gives lot of errors. Most of the errors are compatibility problems with ANSI/ISO C++. The application is heavily dependable on classes like "RWHashDictionary, RWHashTable, RWCollection, RWHashTableIterator, RWCString, etc". Please help me to compile the application using GNU g++ or c++ or gcc.
|
|
|
|
|
|
|
// |