Use of a C library compiled with gcc2.95 from one based on gcc3.2
Ian Lance Taylor
ian@wasabisystems.com
Wed Mar 10 16:16:00 GMT 2004
Ronan Meneu <rmeneu@eprocess.fr> writes:
> I have received a library compiled with a gcc 2.95. I don't have the
> source of this library, only headers. I don't have a way to get the
> same library compiled with gcc 3.2/
>
> All our developement is based on gcc 3.2.
> 1) Is there a way i can link and use this library from a library in
> gcc3.2 (statically or dynamically) ?
> 2) If not, is there a way i can write and compile a wrapper easily ?
>
> I have looked for this answer in the documentation, and made few
> searches on the net, but dit not find anything helpful.
A library written in C (not C++) should typically still work with a
newer compiler version.
Ian
More information about the Gcc-help
mailing list