Hey, completed my next step - which is a binary-only freenet compiled for i386. Looks like that it's running - whith some complaints of not having the wrapper and cannot autoupgrade etc. Maybe threading has issues.
The resulting binaries are a bit large (8 Mb program and 8 Mb shared lib plus the ubiquitous libgjc with ~80 Mb). I've also tried to link static against libgcj.a - but that fails (maybe because I've grabbed an unsigned binary from a french linux called mandriva - ubuntu does not offer libgcj.a). This one looks also promising: http://ulibgcj.sourceforge.net/ but may require a change from JNI to CNI. I order to compile for mips, I have to refresh my mips-GCC/GCJ (recompiling now for 2 days - still running, those embedded boxes are not too fast)... Please mind: http://download-master.berlin.freifunk.net/sven-ola/freenet/readme-compile.txt P.S. While I'm not a Java expert - for unbloating software, normally an #ifdef is a good thing [tm]. Any analog contructs with this funny language? // Sven-Ola