public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 3.1.1 and Sun Forte 6.2 libs
@ 2002-08-01 20:59 Mark Crosland
  2002-08-02  4:59 ` Ish Rattan
  2002-08-16  5:43 ` GCC 3+ and ABI Tom Browder
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Crosland @ 2002-08-01 20:59 UTC (permalink / raw)
  To: gcc-help


Hello,

Is it safe and sane to compile/link an application with gcc 3.1.1 that
also links in libraries built with Sun Forte 6.2 ?

Solaris 2.8, sparc.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc 3.1.1 and Sun Forte 6.2 libs
  2002-08-01 20:59 gcc 3.1.1 and Sun Forte 6.2 libs Mark Crosland
@ 2002-08-02  4:59 ` Ish Rattan
  2002-08-16  5:43 ` GCC 3+ and ABI Tom Browder
  1 sibling, 0 replies; 4+ messages in thread
From: Ish Rattan @ 2002-08-02  4:59 UTC (permalink / raw)
  To: gcc-help

On Thu, 1 Aug 2002, Mark Crosland wrote:

>
> Hello,
>
> Is it safe and sane to compile/link an application with gcc 3.1.1 that
> also links in libraries built with Sun Forte 6.2 ?
No, it is not.

-ishwar

^ permalink raw reply	[flat|nested] 4+ messages in thread

* GCC 3+ and ABI
  2002-08-01 20:59 gcc 3.1.1 and Sun Forte 6.2 libs Mark Crosland
  2002-08-02  4:59 ` Ish Rattan
@ 2002-08-16  5:43 ` Tom Browder
  2002-08-16  7:38   ` Eljay Love-Jensen
  1 sibling, 1 reply; 4+ messages in thread
From: Tom Browder @ 2002-08-16  5:43 UTC (permalink / raw)
  To: gcc-help

I'm not sure about the impact of the various flavors of ABI from gcc 3.0
onwards.  Statements are made that code compiled with g++X is not
compatible with g++Y, but I seem to be able to link and run successfully
with g++-3.1.1 code linked with g++2.95.1 library code (all on i386
hosts, various RedHat distributions from 7.0 through 7.3.

Am I just lucky and awaiting a big surprise?

Thanks.

Tom Browder



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: GCC 3+ and ABI
  2002-08-16  5:43 ` GCC 3+ and ABI Tom Browder
@ 2002-08-16  7:38   ` Eljay Love-Jensen
  0 siblings, 0 replies; 4+ messages in thread
From: Eljay Love-Jensen @ 2002-08-16  7:38 UTC (permalink / raw)
  To: Tom Browder, gcc-help

Hi Tom,

Are you linking C++, or C code?

The C ABI is, I've heard, the same.

The C++ ABI has undergone a significant overhaul.  I think along the lines 
of exception handling infrastructure, name mangling, register usage 
protocols (on select platforms), C++ streams and other I/O, RTTI support 
and infrastructure, exceptions thrown out of a shared library (.so, .dll) 
which not supported in 2.95.

Those are just some of the big ones.  I'm sure that the website has more 
intimate (and correct!) details, as well as some of the GCC gurus on this 
forum.  But that should be good enough for a heads up.

Sincerely,
--Eljay

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-08-16 14:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-01 20:59 gcc 3.1.1 and Sun Forte 6.2 libs Mark Crosland
2002-08-02  4:59 ` Ish Rattan
2002-08-16  5:43 ` GCC 3+ and ABI Tom Browder
2002-08-16  7:38   ` Eljay Love-Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).