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