[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling Classpath on cigwin/win

From: Enrico Migliore
Subject: Re: compiling Classpath on cigwin/win
Date: Tue, 03 Jan 2006 16:19:05 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113

Hi Mark,

Hi Enrico,

If you can figure out why jikes hangs, either by adding -verbose to the
Makefile or by stracing or running it under gdb (if available under
cygwin) that would be interesting.

In order to understand why jikes hangs I did the following things:

1. added -verbose to the appropriate makefile
Now, the command line issued by make contains :... jikes -verbose...
    but Jikes hangs without printing anything on the standard output

2. recompiled jikes #defining the macro JIKES_DEBUG in the <config.h>
    file, in order to enable some debug messages.
The build completes and I'm sure that JIKES_DEBUG does effect the program because if I issue "jikes -help" I can see the debug options
    which were not available, with the ordinary build.

    Jikes hangs without printing anything on the standard output

I think I should use the GDB debugger which works fine on my Cygwin or the
DDD debugger (which is a GUI based debugger)
I'll do that tomorrow.
On Tue, 2006-01-03 at 09:41 +0100, Enrico Migliore wrote:
The only one left is the Eclipse compiler. When I try:

       ./configure --with-ecj

the configure script tells me that "ecj is not found"
ECJ is a class, embedded in the following Eclipse plugin:

and therefore is not an ordinary application.

Can somebody tell me how to instruct the configure script
to use the ECJ compiler?

On we bootstrap the ECJ compiler with GCJ. I am
not 100% sure you can do this with an older gcj (builder uses gcc from
cvs), but if you can try then this is what should work:

cvs -d:pserver:address@hidden:/home/eclipse co \

cd org.eclipse.jdt.core

find compiler batch -name \*.java | xargs gcj \
   --main=org.eclipse.jdt.internal.compiler.batch.Main \
   -Icompiler -Ibatch -o ecj

Then you have a native ecj executable that can be used to bootstrap

Ok, thanks for your suggestion. I'll try that too.

Has anybody ever successfully built GNU/Classpath on Cygwin?

Yes in the past, but clearly none of the core developers are using
cygwin regularly. So it has bitrotten a bit. Sorry and thanks for trying
to get it working.

I need a Windows build of Classpath, because I'm building JC (SableVM), which in turn,
needs Classpath to successfully build on Windows.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]