| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-Id: | <4.2.0.58.20000821210532.009576f0@mailx.u-picardie.fr> |
| X-Sender: | cormier AT mailx DOT u-picardie DOT fr |
| X-Mailer: | QUALCOMM Windows Eudora Pro Version 4.2.0.58 |
| Date: | Mon, 21 Aug 2000 21:26:41 +0200 |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| From: | cormier <cormier AT u-picardie DOT fr> |
| Subject: | Cygwin, W98 and gcj again |
| Mime-Version: | 1.0 |
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 AT 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 AT 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 AT 4'
collect2: ld returned 1 exit status
Somebody can help me?
Christian CORMIER
cormier AT u-picardie DOT fr
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |