harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject [classlib] using cpp
Date Mon, 13 Feb 2006 17:07:56 GMT
The jaasnix natives are written to require the C++ compiler (at least on
Linux).  May I suggest that we stick with good old C?

The dependency only appears to be to the C++ JNI bindings, so the patch
is essentially:

sed -e's/jenv->\([^(]*\)(/(*jenv)->\1 (jenv, /' <jaasnix.cpp >jaasnix.c

and minor edits to fix up some declarations.

The resulting library is then only 75% the size it was before.

Regards,
Tim

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Mime
View raw message