mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
additional readme.txt embedding example clarification
This commit is contained in:
parent
7a1522e94e
commit
a6f1b92b63
10
readme.txt
10
readme.txt
@ -235,9 +235,17 @@ main(int ac, const char** av)
|
|||||||
return exitCode;
|
return exitCode;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
on Linux:
|
||||||
|
$ g++ -I$JAVA_HOME/include -I$JAVA_HOME/include/linux \
|
||||||
|
-D_JNI_IMPLEMENTATION_ -c main.cpp -o main.o
|
||||||
|
|
||||||
|
on Mac OS X:
|
||||||
$ g++ -I$JAVA_HOME/include -D_JNI_IMPLEMENTATION_ -c main.cpp -o main.o
|
$ g++ -I$JAVA_HOME/include -D_JNI_IMPLEMENTATION_ -c main.cpp -o main.o
|
||||||
|
|
||||||
Add -I$JAVA_HOME/include/win32 to the above when building on Windows.
|
on Windows:
|
||||||
|
$ g++ -I$JAVA_HOME/include -I$JAVA_HOME/include/win32 \
|
||||||
|
-D_JNI_IMPLEMENTATION_ -c main.cpp -o main.o
|
||||||
|
|
||||||
|
|
||||||
Step 5: Link the objects produced above to produce the final
|
Step 5: Link the objects produced above to produce the final
|
||||||
|
Loading…
Reference in New Issue
Block a user