Here's my attempt at a build patch, it resolves the problems of doingcross compilation of the JDBC driver with non-Sun (eg: free)compilers.
This patch is not perfect, in fact, compiler selection is a bithacky. But it does work.
Nic