On Microsoft Windows, the following command builds a dynamic link library hello.dll using Microsoft Visual C++ 4.0:
cl -Ic:\java\include -Ic:\java\include\win32
-LD HelloWorldImp.c -Fehello.dll
//================
http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/step5.html
我是在sun的網站看見這段話的。我覺得好像不對。“-Ic”應該是“-I C:\java...",
"-Fchello.dll"應該是 "-Fe hello.dll" "-I" "-Fe" 應該是FLAG。
gcc可以裝在windows下嗎?
對DLL不熟悉,請教大家。