Re: compiling Classpath on cigwin/win

2006-01-09 Thread Enrico Migliore

Hi Mark


Make sure you have zip also, not just gzip.
Mark
 


you're right! After installing the zip utility, I was finally able
to build Classpath on Cygwin.

There are still a couple of things I would like to do before
using Classpath:

1. Compiling classpath with the Eclipse Java compiler ECJ
(Mark Wielaard suggested me how to do it and I'm gonna
 do it next week)

2. Compiling Classpath with the following flag:  --enable-gtk-peer
In fact, even though X is installed and working on my Cygwin,
the ./configure script refuses to generate the make file saying X 
is not installed


thanks guys for your support,
 Enrico




___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-05 Thread Enrico Migliore

Paul Jenner wrote:


Hi Mark.

On Tue, 2006-01-03 at 23:12 +0100, Mark Wielaard wrote:
 


O, interesting. The class comment in that file contains some strange
characters. Does removing them help?
   



Just noticed that myself. Yep - remove the odd characters and build is
merrily completing for me.

I haven't checked the rest of the build or tested the resulting class
library yet but this seems to fix the jikes issue.

Cheers,

Paul

 


Hi Paul,

thanks for the patch. Now Classpath compiles using Jikes. There are 
still some compilation warnings

which I would like to try to remove (next week).


I still got 2 problems on my Cygwin which prevent Classpath from 
generating glibj.zip



Problem 1
--
Found when issuing: $make

make  all-am
make[2]: Entering directory 
`/home/Enrico/projects/classpath/classpath-0.19/examples'

mkdir -p classes/gnu/classpath/examples/icons
cp ./gnu/classpath/examples/icons/*.png classes/gnu/classpath/examples/icons
/usr/local/bin/jikes -bootclasspath '' -extdirs '' -sourcepath '' 
--classpath ../lib:.
-d classes ./gnu/classpath/examples/*/*.java  cd classes;  -r 
../examples.zip .; cd ..

/bin/sh: -r: command not found


Problem 2
--
Found when issuing: $make install

$ make install
Making install in lib
make[1]: Entering directory 
`/home/Enrico/projects/classpath/classpath-0.19/lib'

true
top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '..'.
Adding java source files from VM directory ../vm/reference
if test  != ; then  -r -D glibj.zip gnu java javax org META-INF  
/dev/null;

fi
make[2]: Entering directory 
`/home/Enrico/projects/classpath/classpath-0.19/lib'

true
top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '..'.
Adding java source files from VM directory ../vm/reference
make[2]: Nothing to be done for `install-exec-am'.
if test  != ; then  -r -D glibj.zip gnu java javax org META-INF  
/dev/null;

fi
test -z /usr/local/classpath/share/classpath || mkdir -p -- 
/usr/local/classp

ath/share/classpath
/usr/bin/install -c -m 644 './glibj.zip' 
'/usr/local/classpath/share/classpath/

glibj.zip'
/usr/bin/install: cannot stat `./glibj.zip': No such file or directory
make[2]: *** [install-glibjDATA] Error 1
make[2]: Leaving directory 
`/home/Enrico/projects/classpath/classpath-0.19/lib'

make[1]: *** [install-am] Error 2
make[1]: Leaving directory 
`/home/Enrico/projects/classpath/classpath-0.19/lib'

make: *** [install-recursive] Error 1


Can anybody help?

Enrico


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-05 Thread Mark Wielaard
On Thu, 2006-01-05 at 08:56 +0100, Enrico Migliore wrote:
  I still got 2 problems on my Cygwin which prevent Classpath from 
 generating glibj.zip

 Problem 1
 --
 Found when issuing: $make
 
 make  all-am
 make[2]: Entering directory 
 `/home/Enrico/projects/classpath/classpath-0.19/examples'
 mkdir -p classes/gnu/classpath/examples/icons
 cp ./gnu/classpath/examples/icons/*.png classes/gnu/classpath/examples/icons
 /usr/local/bin/jikes -bootclasspath '' -extdirs '' -sourcepath '' 
 --classpath ../lib:.
 -d classes ./gnu/classpath/examples/*/*.java  cd classes;  -r 
 ../examples.zip .; cd ..
 /bin/sh: -r: command not found

Configure didn't find zip. This is a bug in out configure setup:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24133
Configure does not detect (fatal) missing zip executable

Problem 2 is most likely the same issue.

Have you installed zip? If not, try installing that first. If you have
make sure it is in your PATH. And if it is still not found look in
config.log to see if there is an hint why it isn't found.

Cheers,

Mark


signature.asc
Description: This is a digitally signed message part
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-05 Thread Enrico Migliore

Mark Wielaard wrote:


On Thu, 2006-01-05 at 08:56 +0100, Enrico Migliore wrote:
 

I still got 2 problems on my Cygwin which prevent Classpath from 
generating glibj.zip
   



 


Problem 1
--
Found when issuing: $make

make  all-am
make[2]: Entering directory 
`/home/Enrico/projects/classpath/classpath-0.19/examples'

mkdir -p classes/gnu/classpath/examples/icons
cp ./gnu/classpath/examples/icons/*.png classes/gnu/classpath/examples/icons
/usr/local/bin/jikes -bootclasspath '' -extdirs '' -sourcepath '' 
--classpath ../lib:.
-d classes ./gnu/classpath/examples/*/*.java  cd classes;  -r 
../examples.zip .; cd ..

/bin/sh: -r: command not found
   



Configure didn't find zip. This is a bug in out configure setup:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24133
Configure does not detect (fatal) missing zip executable

Problem 2 is most likely the same issue.

Have you installed zip? If not, try installing that first. If you have
make sure it is in your PATH. And if it is still not found look in
config.log to see if there is an hint why it isn't found.

Cheers,

Mark
 



Hi Mark,

yes, gzip is installed on my Cygwin and the version is 1.3.5

What am I supposed to do now: should I wait for the patch or
try to modify the configure script?

ciao,
Enrico


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-05 Thread Michael Koch
On Thu, Jan 05, 2006 at 02:10:19PM +0100, Enrico Migliore wrote:
 Mark Wielaard wrote:
 
 On Thu, 2006-01-05 at 08:56 +0100, Enrico Migliore wrote:
  
 
 I still got 2 problems on my Cygwin which prevent Classpath from 
 generating glibj.zip

 
 
  
 
 Problem 1
 --
 Found when issuing: $make
 
 make  all-am
 make[2]: Entering directory 
 `/home/Enrico/projects/classpath/classpath-0.19/examples'
 mkdir -p classes/gnu/classpath/examples/icons
 cp ./gnu/classpath/examples/icons/*.png 
 classes/gnu/classpath/examples/icons
 /usr/local/bin/jikes -bootclasspath '' -extdirs '' -sourcepath '' 
 --classpath ../lib:.
 -d classes ./gnu/classpath/examples/*/*.java  cd classes;  -r 
 ../examples.zip .; cd ..
 /bin/sh: -r: command not found

 
 
 Configure didn't find zip. This is a bug in out configure setup:
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24133
 Configure does not detect (fatal) missing zip executable
 
 Problem 2 is most likely the same issue.
 
 Have you installed zip? If not, try installing that first. If you have
 make sure it is in your PATH. And if it is still not found look in
 config.log to see if there is an hint why it isn't found.
 
 Cheers,
 
 Mark
  
 
 
 Hi Mark,
 
 yes, gzip is installed on my Cygwin and the version is 1.3.5
 
 What am I supposed to do now: should I wait for the patch or
 try to modify the configure script?

gzip != zip. You need to install the zip utility.


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


[cp-patches] Re: compiling Classpath on cigwin/win

2006-01-03 Thread Mark Wielaard
Hi Paul,

On Tue, 2006-01-03 at 22:20 +, Paul Jenner wrote:
 On Tue, 2006-01-03 at 23:12 +0100, Mark Wielaard wrote:
  O, interesting. The class comment in that file contains some strange
  characters. Does removing them help?
 
 Just noticed that myself. Yep - remove the odd characters and build is
 merrily completing for me.

Great! Committed as follows:

2006-01-03  Mark Wielaard  [EMAIL PROTECTED]

* org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.

Thanks,

Mark


signature.asc
Description: This is a digitally signed message part
___
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches


Re: compiling Classpath on cigwin/win

2006-01-03 Thread Enrico Migliore

Hi Tom,


Enrico (I had to disable gtk-peer because for some reason the
Enrico  configure utility says X is not installed... even though X
Enrico  is installed through Cygwin...  I'm sure X is running because
Enrico  I got the excellent DDD debugger which is a Windows based
Enrico  program, working on my Win2k)

config.log ought to say why the tests for X failed.

 


Thanks, I'll take a look at it


Enrico CPU: Intel @ 3GHz
Enrico RAM: 192 MBytes
Enrico OS: WinXP

Enrico Is it reasonable a compilation time that long?

No.

If it is not making any progress at all then I would suspect a bug in
whatever app is stuck (you mentioned jikes... you could try a
different java compiler).

Tom

 



Speaking about using a different compiler to build GNU/Classpath on Cygwin,
I haven't got much choice:

1. GCJ 4.0 is not available yet on Cygwin
2. Jikes hangs
3. The kjc compiler is supported with configure but we have
 been unable to successfully compile with it (excerpt from INSTALL)
4. Eclipse Compiler for Java 3.1+
5. GCJX is not currently supported and Dalibor says that there are
still some problems to fix.

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:

org.eclipse.jdt.core.compiler
**
and therefore is not an ordinary application.

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

Has anybody ever successfully built GNU/Classpath on Cygwin?

thanks for any help,
Enrico





___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-03 Thread Mark Wielaard
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.

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:
 
  org.eclipse.jdt.core.compiler
 **
 and therefore is not an ordinary application.
 
 Can somebody tell me how to instruct the configure script
 to use the ECJ compiler?

On builder.classpath.org 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:[EMAIL PROTECTED]:/home/eclipse co \
org.eclipse.jdt.core

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
classpath.

 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.

Cheers,

Mark


signature.asc
Description: This is a digitally signed message part
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-03 Thread Enrico Migliore

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:

org.eclipse.jdt.core.compiler
**
and therefore is not an ordinary application.

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



On builder.classpath.org 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:[EMAIL PROTECTED]:/home/eclipse co \
   org.eclipse.jdt.core

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
classpath.

 


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.


Cheers,

Mark
 


ciao,
Enrico


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-03 Thread Paul Jenner
Hi Mark, Enrico.

On Tue, 2006-01-03 at 11:30 +0100, Mark Wielaard wrote:
 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.

Haven't figured out why (yet :-) but I can say where for anyone else
playing with this.

jikes looks to hang compiling org/omg/CORBA/INVALID_ACTIVITY.java under
Cygwin. Take that file out of the classes list manually and jikes build
completes for me. Try to compile just that file from within the build
infrastructure and jikes hangs.

Unfortunately strace under Cygwin doesn't seem to like me so I am still
trying to figure out what is happening...

Hope this helps,

Paul

-- 
Paul Jenner [EMAIL PROTECTED]



___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-03 Thread Mark Wielaard
Hi Paul,

On Tue, 2006-01-03 at 22:05 +, Paul Jenner wrote:
 Haven't figured out why (yet :-) but I can say where for anyone else
 playing with this.
 
 jikes looks to hang compiling org/omg/CORBA/INVALID_ACTIVITY.java under
 Cygwin. Take that file out of the classes list manually and jikes build
 completes for me. Try to compile just that file from within the build
 infrastructure and jikes hangs.

O, interesting. The class comment in that file contains some strange
characters. Does removing them help?

Cheers,

Mark
Index: org/omg/CORBA/INVALID_ACTIVITY.java
===
RCS file: /sources/classpath/classpath/org/omg/CORBA/INVALID_ACTIVITY.java,v
retrieving revision 1.1
diff -u -r1.1 INVALID_ACTIVITY.java
--- org/omg/CORBA/INVALID_ACTIVITY.java	22 Oct 2005 19:57:03 -	1.1
+++ org/omg/CORBA/INVALID_ACTIVITY.java	3 Jan 2006 22:12:34 -
@@ -43,7 +43,7 @@
 /**
  * Raised when the transaction or Activity is resumed in a different context
  * than from which it was suspended. It is also raised when the invocation is
- * not incompatible with the Activity’s current state.
+ * not incompatible with the Activity's current state.
  *
  * @since 1.5
  *


signature.asc
Description: This is a digitally signed message part
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-03 Thread Paul Jenner
Hi Mark.

On Tue, 2006-01-03 at 23:12 +0100, Mark Wielaard wrote:
 O, interesting. The class comment in that file contains some strange
 characters. Does removing them help?

Just noticed that myself. Yep - remove the odd characters and build is
merrily completing for me.

I haven't checked the rest of the build or tested the resulting class
library yet but this seems to fix the jikes issue.

Cheers,

Paul

-- 
Paul Jenner [EMAIL PROTECTED]



___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-03 Thread Dalibor Topic
On Tue, Jan 03, 2006 at 10:05:55PM +, Paul Jenner wrote:
 Hi Mark, Enrico.
 
 On Tue, 2006-01-03 at 11:30 +0100, Mark Wielaard wrote:
  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.
 
 Haven't figured out why (yet :-) but I can say where for anyone else
 playing with this.
 
 jikes looks to hang compiling org/omg/CORBA/INVALID_ACTIVITY.java under
 Cygwin. Take that file out of the classes list manually and jikes build
 completes for me. Try to compile just that file from within the build
 infrastructure and jikes hangs.
 
 Unfortunately strace under Cygwin doesn't seem to like me so I am still
 trying to figure out what is happening...

On the gcjx front, it seems to blow up as soon as it tries to read in a
file due to a weirdness in conjuction with libiconv on cygwin: it
translates the first character of _Remote_Stub.java to 12032, etc. which
leads to a quick exception being thrown.

cheers,
dalibor topic


 
 Hope this helps,
 
 Paul
 
 -- 
 Paul Jenner [EMAIL PROTECTED]
 
 
 
 ___
 Classpath mailing list
 Classpath@gnu.org
 http://lists.gnu.org/mailman/listinfo/classpath


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-03 Thread Mark Wielaard
Hi Paul,

On Tue, 2006-01-03 at 22:20 +, Paul Jenner wrote:
 On Tue, 2006-01-03 at 23:12 +0100, Mark Wielaard wrote:
  O, interesting. The class comment in that file contains some strange
  characters. Does removing them help?
 
 Just noticed that myself. Yep - remove the odd characters and build is
 merrily completing for me.

Great! Committed as follows:

2006-01-03  Mark Wielaard  [EMAIL PROTECTED]

* org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.

Thanks,

Mark


signature.asc
Description: This is a digitally signed message part
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-02 Thread Dalibor Topic
On Mon, Jan 02, 2006 at 05:44:29PM +0100, Enrico Migliore wrote:
 Hi,
 
 I'm trying to compile Classpath on Cygwin and I took
 the following steps:
 
 1. Downloaded and installed Cygwin 1.5.18 on Win2k
 
 2. Installed from Cygwin the following binaries:
GCC(the full suite: gcc-core, gcc-g++,...)
 make
 autoconf
 automake
 libtool
 3. Downloaded the source tree of jikes 1.22 from Sourceforge
 
 4. Applied the patch suggested by Delibor topic:
 
 
 http://sourceforge.net/tracker/index.php?func=detailaid=1202863group_id=128803atid=712760
  
 
 
(basically I have to comment out a few lines of code)
 
 6. Then I ran:
./configure
make
make install
make clean
 
 7. Then I downloaded GNU/Classpath-0.19 from classpath.org
 
 8. I ran:
 ./configure --with-jikes --disable-gtk-peer
 make
 
 9. the ./configure utility printed the jikes command line and started 
 compiling
 
 (I had to disable gtk-peer because for some reason the configure utility
 says X is not installed... even though X is installed through Cygwin...
 I'm sure X is running because I got the excellent DDD debugger which
 is a Windows based program, working on my Win2k)
 

that could indicate a bug in the configure.ac code for X detection.

 
 The problem is that the Classpath compilation process started this
 morning at 8:00 and, at 5 p.m., hasn't finished it.
 
 The machine I'm using is a:
 
 CPU: Intel @ 3GHz
 RAM: 192 MBytes
 OS: WinXP
 case: Laptop
 
 Is it reasonable a compilation time that long?

yes. it is probably swapping itself to death. 

I can build kaffe's copy of classpath (which adds a ton of more files, 
including gnu crypto) on a box with 1gb in less then a minute (p4 3ghz, 
latest cygwin, win xp, etc.). 

Jikes is not superbly memory efficient. Afair, neither is gcjx or ecj.
Building Kaffe's copy of the class libs takes more than 180M of memory,
so (since I've got a p3-650/192M notebook :) I am building on more
potent machines.

cheers,
dalibor topic

 
 thanks for any help,
 Enrico
 
 
 
 ___
 Classpath mailing list
 Classpath@gnu.org
 http://lists.gnu.org/mailman/listinfo/classpath


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-02 Thread Enrico Migliore

Hi Dalibor,

thanks for your prompt answer.




(I had to disable gtk-peer because for some reason the configure utility
says X is not installed... even though X is installed through Cygwin...
I'm sure X is running because I got the excellent DDD debugger which
is a Windows based program, working on my Win2k)

   



that could indicate a bug in the configure.ac code for X detection.

 


ok, let's keep this in mind and face one problem at a time.


The problem is that the Classpath compilation process started this
morning at 8:00 and, at 5 p.m., hasn't finished it.

The machine I'm using is a:

CPU: Intel @ 3GHz
RAM: 192 MBytes
OS: WinXP
case: Laptop

Is it reasonable a compilation time that long?
   



yes. it is probably swapping itself to death. 

 


Do you mean anything is going wrong?

I can build kaffe's copy of classpath (which adds a ton of more files, 
including gnu crypto) on a box with 1gb in less then a minute (p4 3ghz, 
latest cygwin, win xp, etc.). 

 


if it takes less than a minute, something is definetely going wrong.


Jikes is not superbly memory efficient. Afair, neither is gcjx or ecj.
Building Kaffe's copy of the class libs takes more than 180M of memory,
so (since I've got a p3-650/192M notebook :) I am building on more
potent machines.

 

The hard disk is still, that means that Jikes is not making use of 
virtual memory.

I'm gonna stop the build.

Any suggestions are welcome?


cheers,
dalibor topic

 


ciao,
Enrico




___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-02 Thread Tom Tromey
 Enrico == Enrico Migliore [EMAIL PROTECTED] writes:

Enrico (I had to disable gtk-peer because for some reason the
Enrico  configure utility says X is not installed... even though X
Enrico  is installed through Cygwin...  I'm sure X is running because
Enrico  I got the excellent DDD debugger which is a Windows based
Enrico  program, working on my Win2k)

config.log ought to say why the tests for X failed.

Enrico CPU: Intel @ 3GHz
Enrico RAM: 192 MBytes
Enrico OS: WinXP

Enrico Is it reasonable a compilation time that long?

No.

If it is not making any progress at all then I would suspect a bug in
whatever app is stuck (you mentioned jikes... you could try a
different java compiler).

Tom


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-02 Thread Mark Wielaard
Hi,

On Mon, 2006-01-02 at 19:10 +0100, Enrico Migliore wrote:
 The problem is that the Classpath compilation process started this
 morning at 8:00 and, at 5 p.m., hasn't finished it.
 
 The machine I'm using is a:
 
 CPU: Intel @ 3GHz
 RAM: 192 MBytes
 OS: WinXP
 case: Laptop
 
 Is it reasonable a compilation time that long?
 
 yes. it is probably swapping itself to death. 
 
 Do you mean anything is going wrong?

I don't think this is normal, even with just 192MB memory.
What was the last output of the build? Do you have top or ps on cygwin
to see which process is active at the moment?

If it is jikes try adding -verbose to the following line in lib/Makefile
JAVAC = $(JIKES) $(JIKESWARNINGS) +F $(JIKESENCODING) -bootclasspath ''
-extdirs '' -sourcepath '' --classpath $(compile_classpath) -d .
@classes

That should at least give a clue what jikes is doing.

Cheers,

Mark


signature.asc
Description: This is a digitally signed message part
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: compiling Classpath on cigwin/win

2006-01-02 Thread Dalibor Topic
On Mon, Jan 02, 2006 at 07:10:57PM +0100, Enrico Migliore wrote:

 yes. it is probably swapping itself to death. 
 
  
 
 Do you mean anything is going wrong?

I've looked at it again, and was able to reproduce the hang with GNU
Classpath's build only, there either jikes 1.22 + patches or jikes CVS
head + patches hang themselves up.

Oddly enough, the build works fine on Kaffe, which uses pristine GNU
Classpath, too. So I guess there may be some difference that accounts
for the different behaviour, but I can't say what it is. If you are
interested in hunting it down, I wish you best of luck.
 
 Any suggestions are welcome?
 

I've created a 'mini-fork'[1] of gcjx that can build on cygwin, but it
unfortunately segfaults when I try to build GNU Classpath using it. If
you are interested in debugging it, I can send you the tarball.

I am personally more interested into having a working gcjx on cygwin, as
I'd like to merge gcjx into Kaffe.

cheers,
dalibor topic

[1] i.e. I don't have the patches sorted out for contributing them back
to Tom yet, I just got it building tonight and had to do some minimally
invasive build system surgery. :)


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath