| www.delorie.com/archives/browse.cgi | search |
| From: | Junks <junks AT freemail DOT it> |
| Newsgroups: | comp.os.msdos.djgpp,comp.lang.java.help |
| Subject: | Making a DLL with DJGPP for Java Native Interface |
| Date: | Tue, 19 Jan 1999 14:09:13 +0100 |
| Organization: | Univ. of Genoa, Italy |
| Lines: | 18 |
| Message-ID: | <36A483F9.38910023@freemail.it> |
| NNTP-Posting-Host: | 130.251.152.213 |
| Mime-Version: | 1.0 |
| X-Mailer: | Mozilla 3.01Gold (X11; I; Linux 2.0.35 i686) |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |