Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-Id: <371E3EA6.830EC671@tempest.engr.ucdavis.edu>
Date: Wed, 21 Apr 1999 14:09:58 -0700
From: John McNally <mcnally@tempest.engr.ucdavis.edu>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
Mime-Version: 1.0
To: Mumit Khan <khan@xraylith.wisc.edu>
Cc: "gnu-win32@cygnus.com" <gnu-win32@cygnus.com>
Subject: Re: jni,egcs1.1.2 compiling problem
References: <Pine.SUN.3.93.990421151448.11231G-100000@modi.xraylith.wisc.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

The problem I was having seems to have been solved by using 
the -jni option on javah.  Sorry, I don't know much about what I'm
trying to do, so I tend to make a lot of mistakes.

What is your opinion on the likelihood of success on trying to call a
FORTRAN subroutine thru jni?
I know Sun only supports C and C++, but was hoping the integration of
g77 as a front end to gcc might make it possible.  I am currently
getting a java.lang.UnSatisfiedLinkError when I call the method.
Unless I've made some other stupid mistake, I am guessing the symbol
names in the DLL file are not compatible.
Do you think I might be able to do something with the dllinit.c (or some
other foo.c file) as a go-between the java and FORTRAN?
Or is this out of the league of a neophyte programmer, not prepared to
do some compiler programming?


-- 
John McNally
Graduate Student, UCLA
Graduate Student Researcher, UC-Davis
e-mail: mcnally@tempest.engr.ucdavis.edu

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

