You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
184 B
11 lines
184 B
6 years ago
|
gcc -c dlmain.c -o dlmain.o
|
||
|
gcc -c func.c -o func.o
|
||
|
cc -shared -fPIC func.c -o libfunc.so
|
||
|
gcc dlmain.c libfunc.so -o dlmain
|
||
|
|
||
|
go build hello.go
|
||
|
|
||
|
javac HelloWorld.java
|
||
|
|
||
|
#java HelloWorld
|