This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: FYI: Updated "Building GCJ for Windows"
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: tromey at redhat dot com
- Cc: Marco Trudel <mtrudel at gmx dot ch>, java at gcc dot gnu dot org
- Date: Thu, 15 Jun 2006 21:20:29 -0500
- Subject: Re: FYI: Updated "Building GCJ for Windows"
- Reply-to: gnustuff at thisiscool dot com
Hi All,
>It is probably possible to work around this somehow, say by extracting
>locale property files from libgcj.jar and compiling them into a .o
>that you ship with your application.
On a custom 4.02 build, I did this by linking these .o files into
an archive, putting this archive in the same location as libgcj.a
(I call it libgcj_properties.a) and then linking to this archive via
libgcj.spec using -Wl,--whole-archive. You can do this for other
classes you want transparently linked in.
-- Mohan Embar
http://www.thisiscool.com/
http://www.animalsong.org/