public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin, W98 and gcj again
@ 2000-08-21 12:25 cormier
  0 siblings, 0 replies; only message in thread
From: cormier @ 2000-08-21 12:25 UTC (permalink / raw)
  To: cygwin

	I just download the last version of cygwin with W98 on a new computer. I 
attempt to use gcj. My last try is made with:
libgcj-2.95.1-win32-0.3.tar.bz2, libgcj.spec and Helloworld.java downloaded 
from http://www.cs.bris.ac.uk/~jb7216/libgcj/

Install and compile :
bunzip2 -c libgcj-2.95.1-win32-0.3.tar.bz2 | tar xfv -
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/lib
export CLASSPATH=/usr/local/share/libgcj.zip

standard@OEMCOMPUTER /
$ cat Helloworld.java

public class Helloworld {

         public static void main(String[] args) {
                 System.out.println("Hello world");
         }

}
gcj -mno-cygwin --main=Helloworld -o Helloworld Helloworld.java

the result:
$ gcj -mno-cygwin --main=Helloworld -o Helloworld Helloworld.java
/usr/local/lib/libgccgcj.a(_eh.o): In function `eh_context_initialize':
/usr/local/build/gcc-2.95.2/gcc/../../../src/gcc-2.95.2/gcc/libgcc2.c(.text+ 
0x14
2): undefined reference to `InterlockedIncrement@4'
/usr/local/lib/libgccgcj.a(frame.o): In function `init_object_mutex_once':
/usr/local/build/gcc-2.95.2/gcc/../../../src/gcc-2.95.2/gcc/frame.c(.text+0x 
4a):
  undefined reference to `InterlockedIncrement@4'
collect2: ld returned 1 exit status

Somebody can help me?

Christian CORMIER
cormier@u-picardie.fr

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-21 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-21 12:25 Cygwin, W98 and gcj again cormier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).