Another 646 patch and performance comparison with TOWER (solved)

Göran Thyni goran@kirra.net
Wed Apr 3 04:34:00 GMT 2002


On Wed, Apr 03, 2002 at 11:23:20AM +0200, Martin Kahlert wrote:
> Building standalone java programs seems to be quite tricky.

Since dynamic loading is an important feature of any Java environment
static linking is not an option in most cases.
The old trick to get things linked in C/C++ applies here to
gnu.gcj.convert.Input_ASCII dummy = null
if (dummy != null)
{
 dummy = new gnu.gcj.convert.Input_ASCII();
}
.. and watch out for optimizers!
But you should be able to pick up byte code for gnu.gcj.convert.Input_ASCII 
from libgcj.jar if I am not mistaken (?)
regards,
-- 
Göran Thyni
 Luleå, Sweden


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /