This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: CNI doc question


On 28 Jan 2002, Nic Ferrier wrote:
> <quote>
> G++ has historically used a different calling convention that is not
> compatible with the one used by @acronym{gcj}.  During 1999, G++ will
> switch to a new ABI that is compatible with gcj.  Some platforms
> (including Linux) have already changed.  On other platforms, you will
> have to pass the -fvtable-thunks flag to g++ when compiling CNI code.
> Note that you must also compile your C++ source code with -fno-rtti.
> </quote>

Wow, that's old.  G++ and gcj both use the new ABI on all targets since
the 3.0 release.  The -fvtable-thunks flag no longer has any effect,
though AFAIK -fno-rtti is still required for CNI sources.

Jeff


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