Library porting / compatibility question
Craig Noah
Craig.Noah@sterling.com
Tue May 16 07:19:00 GMT 2000
First, some background:
I am working on a project to upgrade a system (non-trivial) that was
compiled with gcc 2.7.2.*.ÃÂ Our goal is to add XML to the system.ÃÂ
We are using XML libraries that are compiled with gcc 2.95.2.ÃÂ My
task is to write a wrapper class that our system can use to interface with
the XML libraries.ÃÂ The final system must compile with gcc 2.7.2.*
Currently, I have created a library file (*.a) for the XML libraries
(compiled with gcc 2.95.2), as well as a library file (xml.a) of my wrapper
class (compiled with gcc 2.7.2.3).ÃÂ When I create a small test file
that links with these (compiling with gcc 2.7.2.3), I get one error where
the same symbol has different sizes in different files, followed by several
"undefined symbol" errors that trace back to the first XML library file.
Is there some way to make this work without upgrading our system to
compile with gcc 2.95.2?ÃÂ Is there a compiler or linker flag that
I can use to make the XML library work with the older compiler?ÃÂ Any
and all help is appreciated.
--ÃÂ
Craig NoahÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ INTERNET: Craig.Noah@sterling.com
Software Engineer
Computer Associates
1404 Fort Crook Road SouthÃÂ ÃÂ ÃÂ ÃÂ Phone:ÃÂ ÃÂ ÃÂ (402) 291-8300 x 284
Bellevue,ÃÂ NEÃÂ ÃÂ 68005-2969ÃÂ ÃÂ ÃÂ ÃÂ FAX:ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ (402) 291-4362
ÃÂ
More information about the Libstdc++
mailing list