This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Use of a C library compiled with gcc2.95 from one based on gcc3.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]