JNI with Cygwin...library locations
Date: Mon, 15 Dec 2003 09:15:10 -0600
I've been forced to dip my hand into writing some JNI code (*sigh*) and
downloaded cygwin so I'd have a c++ compiler to use to write the dll
files. However, I don't know where the appropriate libraries to add in
my cc statement. According to the tutorial on java.sun, if I had
visualC++ I'd use the following for a HelloWorld example:
cl -Ic:\java\include -Ic:\java\include\win32
-LD HelloWorldImp.c -Fehello.dll
Could somebody please interpret this line for me as to what I need using
cygwin's c++ compiler. I have cygwin installed at c:\cygwin. Thanks
for any help.
- Re: Extended Hamming encode/decode
... I also use LET when writing BASIC code. ... yourself - thus you have to balance your idiosyncrasies with standard ... can use "auto" as the a type in a variable declaration when the compiler ... write code that requires C99 compliance even when writing c. ...
- Re: Java or C++?
... > FEM packages, ATC, SABRE - but I suspect several of those are done in C ... compiler writing, theorem proving, CAS, scientific computing, ... >> Have a play with some more modern languages like OCaml and Haskell. ...
- Re: Not consistent unformatted write
... unformatted binary file. ... On your third question, YES, memory faults can cause problems like ... always) NOT in the compiler or runtime, ... Reading the file back before closing it after writing, ...
- Re: Buddy System Memory Allocator
... existing compiler. ... I don't see why someone writing an OS would ... so it's better than printf in the sense that you can extend it easily. ... programmer recognizes that without being provided an explanation. ...
- Re: How do you interpret this code ?: Modified := Original + 1;
... isp's newsserver which is kinda weird. ... Which makes me wonder about maybe writing a p2p usenet system without ... Yesterday I thought the compiler generated it differently, ... The Original is loaded into EAX, ...