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: mingw-targeted cross-compiler question


Yes, That problem got solved. But now I got a new problem:
"fatal error, jni.h, no such file or directory"

The jni.h is included in a .h c file.

What's going on? 



NightStrike wrote:
> 
> On Wed, Dec 15, 2010 at 4:10 PM, gviewer <marlonmin@gmail.com> wrote:
>>
>> Thanks for explanation. ÂI checked the Make file, and here it is:
>>
>> CFLAGS = -O3 -Wimplicit
>> ...
>> gcc -mno-cygwin -g -Wl,--add-stdcall-alias -Wl,--export-all-symbols
>> ${BRILL_INCLUDES} -I ${JAVA_HOME}/include/ -I ${JAVA_HOME}/include/win32
>> -shared -o lib/BTagger.dll ${BRILL_JAVA_BASE}/*.c ${BRILL_SRC}
>>
>> This is a Java wrapper around a C/C++ library. Can you help have a look
>> and
>> see if there is an easy change to the "gcc -mno-cygwin ..." part? I am
>> using
>> Windows 7 64-bit machine.
>> Thanks.
> 
> Well, like I said.. install the cross compiler package and edit that
> line to say what you need it to say.
> 
> --
> 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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/mingw-targeted-cross-compiler-question-tp30467239p30468379.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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]