This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Are java executables standalone?
- From: Andrew Haley <aph-gcc at littlepinkcloud dot COM>
- To: hill0093 <hill0093 at umn dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 29 Jun 2007 13:52:02 +0100
- Subject: Re: Are java executables standalone?
- References: <11359575.post@talk.nabble.com>
hill0093 writes:
>
> Are executables compiled from java code standalone,
> or do they require accompanying files?
> In both windows and linux?
> I haven't tried gcc yet.
gcj compiles to native code, but there is still a substantial library.
For what it's worth, I'm not aware of any programming language that
generates standalone executables and has no runtime library.
It is possible to link statically against libgcj, and indeed this is
the default in Windows, but the disadvantage is rather large
executable files.
Andrew.