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: No console output: gcj Windows cross-compiler


Hello again,

The Windows machine loads the executable, or at least
seems to, but it produces no output.  The program merely exits.

See:


http://gcc.gnu.org/ml/java/2006-02/msg00066.html

...as well as all of the followup posts.

No one has had time to make this work.

Yep, with these patches simple HelloWorld programs do work. I've even managed to make most of the SWT snippets run.

However, there is one big unsolved problem:
Class.forName(String) and other methods that rely upon
_Jv_StackTrace::GetCallingClass() don't work because that function
is no-op when using sjlj exceptions. And as I understand it would be quite difficult to implement that functionality.


So, <rant> GCJ doesn't like Windows very much, and that's not
the right way to get more Linux adopters, IMHO.
If I can't build native executables for Windows and Linux,
I won't build only for Linux too :( </rant>

-- dpr


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