CNI doc question

Jeff Sturm jsturm@one-point.com
Sun Jan 27 20:15:00 GMT 2002


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



More information about the Java mailing list