From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Djgpp and Jni; building shared libraries Date: 1 Jun 2001 09:17:01 GMT Organization: Aachen University of Technology (RWTH) Lines: 21 Message-ID: <9f7mid$ds6$1@nets3.rz.RWTH-Aachen.DE> References: <9f5efo$8kk$1 AT nx6 DOT HRZ DOT Uni-Dortmund DOT DE> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 991387021 14214 137.226.32.75 (1 Jun 2001 09:17:01 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 1 Jun 2001 09:17:01 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Frank Karger wrote: > Hello! > I tried to use C-Code in Java with the Jni. > I wasn't able to build the needed shared libraries with > the gcc from djgpp under Win98. Of course you weren't. DJGPP is a _DOS_ compiler. It knows nothing about Windows or DLL's. Well, you can teach it, by installing the RSXNTDJ package, but then you're no longer really using DJGPP --- you're then running RSXNTDJ, where the DJGPP installation only serves as a host environment it runs in. You'll want MinGW32 or Cygwin, instead. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.