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 ([EMAIL PROTECTED])
IBM Java technology centre, UK.

Reply via email to