This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: CNI doc question
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>
- Cc: java at gcc dot gnu dot org
- Date: Sun, 27 Jan 2002 23:15:07 -0500 (EST)
- Subject: 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