This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "undefined reference to `_JNI_CreateJavaVM'"


On Thu, Feb 18, 2010 at 11:47:13AM -0500, Larry Hall (Cygwin) wrote:
> On 02/18/2010 05:43 AM, Gary wrote:
> >I've basically followed along with what is written at
> >http://www.inonit.com/cygwin/jni/invocationApi/  (built an import
> >library, passed ld the "-L. -ljvm" parameters, and so on). One difference
> >is that gcc no longer supports -mno-cygwin, but I'm not convinced that
> >is the cause.
> 
> Since the above site isn't cygwin.com, this list really can't support the
> process they've outlined.

I'm not asking you to.

> if you really need '-mno-cygwin', then you're not building for
> Cygwin,

With or without is irrelevant to me. Since I am using Cygwin tools I am
perfectly happy to not have the '-mno-cygwin'.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]