This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Weird segmentation fault (2)
- From: Tom Tromey <tromey at redhat dot com>
- To: Geert Bevin <gbevin at uwyn dot com>
- Cc: java at gcc dot gnu dot org
- Date: 18 Apr 2003 11:38:09 -0600
- Subject: Re: Weird segmentation fault (2)
- References: <3E9FED6D.40905@uwyn.com> <3EA00710.5020104@uwyn.com>
- Reply-to: tromey at redhat dot com
>>>>> "Geert" == Geert Bevin <gbevin at uwyn dot com> writes:
Geert> I just compile this with 'gcc -o main main.cc -lgcj', execute with
Geert> ./main and get a segmentation fault again.
Geert> The above code should function, no?
It is really a lot easier if you make `main' a Java method.
I suggest doing this unless there is some reason you absolutely
cannot.
In that case you'll have to read through the list archives a bit.
People occasionally have problems with the CNI invocation API. I'm
not up-to-date on all the problems with it.
We need to add some test cases for this; currently we don't test it at
all... If you have some simple code that works, send it and I'll try
to get it in the test suite.
Tom