cvs.gedasymbols.org/archives/browse.cgi | search |
Date: | Wed, 20 Jan 1999 11:10:33 +0100 |
From: | Teun Burgers <burgers AT ecn DOT nl> |
Subject: | Re: Making a DLL with DJGPP for Java Native Interface |
Sender: | burgers AT ecn DOT nl |
To: | djgpp AT delorie DOT com, gianci AT iname DOT com |
Message-id: | <36A5AB99.A2F68B62@ecn.nl> |
Organization: | Netherlands Energy Research Foundation ECN |
X-Envelope-to: | djgpp AT delorie DOT com |
MIME-version: | 1.0 |
X-Mailer: | Mozilla 4.5 [en] (X11; I; OSF1 V4.0 alpha) |
X-Accept-Language: | nl |
Newsgroups: | comp.lang.java.help |
References: | <36A483F9 DOT 38910023 AT freemail DOT it> |
Reply-To: | djgpp AT delorie DOT com |
Junks wrote: > > I used with great profit in the past DJGPP to write programs which > worked finely both under Win95/NT and under Linux. Now I have to use the > algorithms which lie behind these programs within Java. I know that to > avoid to rewrite them from scratch in Java I can use Java Native > Interface. In Linux I had no problems, while I had them under Win95/NT > in building a DLL using DJGPP + RSXNTDJ. I was unable to build a simple > DLL containing a single function like this one: > > int f( int x) { return ++x; } > > I set up RSXNTDJ properly yet it seems something is missing. Maybe the > definition file but I have never used them and I don't know the syntax. > > I hope somebody could help me because I enjoyed using DJGPP and I would > avoid to use other free compilers like Cygnus (I had problems in setting > it up) or lccwin32 (which is not a C++ compiler). > > Thanks in advance. use the mingw32 tools. With these I succesfully build DLL's for the jni using gcc voor Win 95 http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/ -- Drs A.R. Burgers Netherlands Energy Research Foundation ECN Phone: +31-224-564703 Renewable Energy, PV Cells & Modules Fax : +31-224-563214 P.O. Box 1 email: burgers AT ecn DOT nl 1755 ZG Petten, The Netherlands
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |