This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Static executables
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Andrea aime <andrea dot aime at aliceposta dot it>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 31 Jan 2006 18:15:23 -0600
- Subject: Re: Static executables
- Reply-to: gnustuff at thisiscool dot com
HI Andrea,
>Doh, this is really bad, since many libraries such as SWT (which uses
>JNI) won't compile without -findirect-dispatch. Arg, I was really hoping
>to find a way to generate small standalone executables for apps with
>a graphical interface, but it seems to be tecnically impossible.
For MinGW, I found this:
http://64.233.167.104/search?q=cache:wg4CJuHtcdgJ:realmdesigns.russki.net/phpbb/viewtopic.php%3Ft%3D13%26start%3D10%26sid%3D0208fca5810c1064c1dd89604224f62e+%22--export-dynamic%22+mingw+gcj+swt&hl=en&client=firefox-a
Haven't tried it, though. You have to rebuild
SWT from source.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/