This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libgcj/9608: compiled VS gij virtual machine
- From: Tom Tromey <tromey at redhat dot com>
- To: Not yet assigned to anyone <nobody at gcc dot gnu dot org>, Tom Tromey <tromey at gcc dot gnu dot org>, doparsons at rev dot net
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 8 Feb 2003 11:05:26 -0700 (MST)
- Subject: Re: libgcj/9608: compiled VS gij virtual machine
- Reply-to: tromey at redhat dot com
Tom
`Tom Tromey' changed the responsibility to `tromey'.
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Sat Feb 8 11:03:54 2003
Responsible-Changed-Why:
I'm handling this.
State-Changed-From-To: open-closed
State-Changed-By: tromey
State-Changed-When: Sat Feb 8 11:04:00 2003
State-Changed-Why:
When you link statically, classes that aren't directly referenced
are not linked in. In this case you need a class to be available
via reflection -- but it hasn't been linked in since there is no
direct reference.
This problem has been extensively discussed on the mailing list.
The most common solution is to make your program reference the
classes it needs.