mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
readme.txt clarifications for building on Windows
This commit is contained in:
parent
5c04c19e29
commit
7a1522e94e
@ -237,6 +237,8 @@ main(int ac, const char** av)
|
||||
EOF
|
||||
$ 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.
|
||||
|
||||
|
||||
Step 5: Link the objects produced above to produce the final
|
||||
executable, and optionally strip its symbols.
|
||||
@ -253,5 +255,5 @@ on Windows:
|
||||
$ dlltool -z hello.def *.o
|
||||
$ dlltool -d hello.def -e hello.exp
|
||||
$ g++ hello.exp *.o -L../../win32/lib -lmingwthrd -lm -lz -lws2_32 \
|
||||
-mwindows -mconsole -o hello
|
||||
-mwindows -mconsole -o hello.exe
|
||||
$ strip --strip-all hello.exe
|
||||
|
Loading…
Reference in New Issue
Block a user