JNI with windows/ statically linkning

Clemens Eisserer linuxhippy@web.de
Sat Oct 5 09:52:00 GMT 2002


Hi GNU-Java Folks!

I  want to develop cross-plattform with Java using GCJ (Windows/Linux).
But, I´ve still some newbie-questions and I didnt find any answer....

1.) Is it possible to use GCJ with Windows and what is the actual build 
for windows? Is it still not possible to use JNI with windows? Where can 
I find some binaries for Windows (I hat compiling under Windows)?

2.)I want to link statically against all libs needed for running my 
compilied java-app. But if I  link with "-static" it only link libgcj 
in, but I also need libgcc etc.
Is it possible to include really all needed libs?

3.) If I link something to libgcj statically, it requires realy a lot of 
size. But most Funktions I really doesnt need everytime linked in. 
(Linke Networt, AWT,.....), because I wont use them ever. Is it possibel 
to include only the really needed classes. I´ve tried "strip 
--strip-all" but the executable only linked to libgcj and libggc is 
still 2megs bit (with 3.0.4).

4.) Is it woth upgrading to 3.2?

Txh for helping me with such strange questions...

Mfg Linuxhippy


______________________________________________________________________________
WEB.DE MyPage - Ohne Computerkenntnisse in nur 5 Minuten online! Alles
inklusive! Kinderleicht!  http://www.das.ist.aber.ne.lustige.sache.ms/



More information about the Java mailing list