This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Dynamic class loading also with compilied objects?
- From: Tom Tromey <tromey at redhat dot com>
- To: Linuxhippy <linuxhippy at web dot de>
- Cc: java at gcc dot gnu dot org
- Date: 25 Nov 2002 14:15:26 -0700
- Subject: Re: Dynamic class loading also with compilied objects?
- References: <3DE14808.3030904@web.de>
- Reply-to: tromey at redhat dot com
>>>>> ">" == <linuxhippy@web.de> writes:
>> PS: This static-linking failure makes me going postal. Why cant I do
>> this: gcj -o test myclass.java mylib.so --main=maclass -static
>> The executable always crashes with segfault.
How does it crash?
Note that static linking isn't used very much. So you're likely to
run into problems if you do try it. We're generally willing to fix
bugs with it, but you'll have to do some of the leg work...
>> Please help me, I like GCJ so much, but this is really necessary for
>> distributing my (GNU)-App....
Some systems ship with libgcj. On those you presumably wouldn't need
static linking.
Tom