Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Fri, 12 Nov 1999 14:39:46 -0500 From: John Fralinger Subject: Tools for JNI To: cygwin AT sourceware DOT cygnus DOT com Message-Id: <023001bf2d45$acdea910$9a5c37c0@ei.dupont.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Mailer: Microsoft Outlook Express 5.00.2314.1300 Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal Is the following broken example just an oversight or has JNI been completely abandoned for Cygwin? I prefer to use the tools that are included with the CD... When making Mumit's HelloWorld example I get the following with the V1.0 CD loaded. gcc -c -DBUILDING_DLL=1 -D_DLL=1 -I. -Ic:/jdk1.1.7B/include -Ic:/jdk1.1.7B /inc lude/win32 -g -Wall -O2 -o HelloWorldImp.o HelloWorldImp.c dllwrap --output-def hello.def --add-stdcall-alias --driver-name gcc -o hello. dll \ HelloWorldImp.o -Wl,-e,__cygwin_noncygwin_dll_entry AT 12 -s Warning: no export definition file provided dllwrap will create one, but may not be what you want /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/../../../../i686-cygwin/lib/l ibcy gwin.a(libcmain.o)(.text+0x66):libcmain.cc: undefined reference to `WinMain AT 16' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 make: *** [hello.dll] Error 1 John Fralinger -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com