Re: How to Compile JNI program on windows/cygwin



On 31 May 2006 13:08:26 -0700, Suresh wrote:
I am working on windows xp, java(jdk1.5.0_06) installed on it. I dont
have developer studio. i installed cygwin and gcc, make working fine on
cygwin.

now i would like to compile a simple JNI program. but i am getting
so many errors like this.

I googled for cygwin gcc jni and this was the second hit:

http://www.inonit.com/cygwin/jni/helloWorld/c.html

/gordon

--
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
.



Relevant Pages

  • Re: long double versions of functions in gcc under Cygwin
    ... thought was straightforward, was not answered--namely, when I use gcc ... list in the cygwin docs. ... int main ... [root@gateway tmp]# gcc texpl.c -lm ...
    (comp.lang.c)
  • gtk in cygwin
    ... i am new to c programming with gcc(using cygwin on WinXP) ... I have gtk in my cygwin installation..and was trying ... to compile c code that uses gtk widgets..i tried the first example ... still i get error msg when i run the gcc command ...
    (comp.os.linux.development.apps)
  • Re: gcc m68k versus mc8k-palmos
    ... wanted to avoid building the binaries. ... in newsgroups cygwin can be a little touchy with that OS. ... As for using coldfire gcc, I think I should avoid that. ...
    (comp.arch.embedded)
  • Re: Error when compiling with Cygwin
    ... > int main ... > But when i tryed to compile it with Cygwin. ... > gcc main.cpp -o main.exe ...
    (comp.lang.cpp)
  • Re: Compiling UMFPACK to work with Visual Studio 2008
    ... compiled UMFPACK to work under windows and using it in visual studio ... Usually I use gcc under cygwin but recently I did need to compile my ... What happened that VS can just take a library compiled by gcc and this ...
    (sci.math.num-analysis)