This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcc-3.3 and statically linked mingw binaries?
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: java at gcc dot gnu dot org, Adam Megacz <adam at megacz dot com>
- Date: Tue, 08 Jul 2003 23:12:35 -0500
- Subject: Re: gcc-3.3 and statically linked mingw binaries?
- Reply-to: gnustuff at thisiscool dot com
Hi Adam,
>Has anybody encountered problems with gnu.java.locale.* not getting
>_Jv_RegisterClass()'d when running statically linked Mingw binaries?
I have.
>The same codebase works fine on Linux. I've used the linker (binutils
>2.13.2.1) successfully with gcc-3.2 before. And the code is
>definately getting linked in -- it's in the disassembly. I forced the
>linker to include it by putting static references to the classes in my
>code since the locale classes are normally only accessed via
>reflection.
>Any ideas?
I don't have any ideas, but didn't you allude to this here?:
http://gcc.gnu.org/ml/java/2002-04/msg00180.html
That's how I got the hint to reference these classes in a test program
that didn't work.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/