This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: gcc binary comptibility
- From: "Alexey Skidanov" <alexey-s at orbotech dot com>
- To: "Andrew Haley" <aph at redhat dot com>
- Cc: <gcc-help at gcc dot gnu dot org>, <skidanovalexey at yahoo dot com>
- Date: Thu, 31 Jan 2008 17:33:37 +0200
- Subject: RE: gcc binary comptibility
C++
> -----Original Message-----
> From: Andrew Haley [mailto:aph@redhat.com]
> Sent: Thursday, January 31, 2008 5:32 PM
> To: Alexey Skidanov
> Cc: gcc-help@gcc.gnu.org; skidanovalexey@yahoo.com
> Subject: Re: gcc binary comptibility
>
> Alexey Skidanov wrote:
>
> > We use in our project some third party libraries compiled with
gcc343
> > (RH9). After we moved to CentOS with gcc411, we compiled our project
> > files with the gcc411 and linked with third party libraries. In some
> > cases our executable has abnormally terminated. Only when some of
the
> > libraries were compiled with gcc411, the abnormal termination was
> > disappeared.
> >
> > Assuming that both compilers are binary compatible, It is possible
to
> > link two modules compiled in different compiler version (gcc343,
> > gcc411). But in practice, it is not the case.
>
> You'll have trouble with C++, whereas C should probably be okay.
Which
> was it?
>
> Andrew.