On Sat, 2002-10-19 at 00:49, Jack O'Quin wrote:
The main drawback to using C++ subroutine linkage in
today's Linux
environment is the unstable ABI. This has caused many problems when
trying to call binary libraries built using different compilers or
sometimes even different compiler options. Exception handling is a
particularly thorny issue.
Please note that these problems are deadly to any proposal for a
standard plugin interface.
We can all hope that ABI instabilities will eventually become a thing
of the past, perhaps once GCC version 3 becomes widely adopted. But,
there is no proof that this will happen. Right now, the Linux world
is full of incompatible C++ compiler implementations.
Yes, this is the main problem, and I am aware of it (its bitten me
enough times..), must have slipped my mind before..
But I guess i'm living in the hope that gcc will settle on a stable ABI
in the not too distant future. I really dont understand why this hasnt
happened a lot earlier (although im no compiler guru) - its really vital
to building a successful platform i would have thought. This is the only
plus windows/macos etc have on their side..
are different versions of gcc3 ABI - compatible?
cheers
-nick
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com