This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-3.3 and statically linked mingw binaries?


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/





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]