compile

作者: jaqen_ | 来源:发表于2017-08-20 00:24 被阅读0次

g++ xx.cpp -fpic -shared -o xx.so

g++ -I/usr/local/include/jellyfish-2.2.6 -std=c++0x -Wall -O3 -L/usr/local/lib -ljellyfish-2.0 -lpthread -Wl,--rpath=/usr/local/lib jf_count_dump.cc -o jf_count_dump

g++ jf_count_dump.cc -I/usr/local/include/jellyfish-2.2.6 -std=c++0x -fpic -shared -o libjf_counf_dump.so

g++ Hello.cc -fpic -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/linux -I/home/sky7282/test/ -shared -o /home/sky7282/test/hello.so

g++ jnitest.cpp -fpic -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/linux -I/home/sky7282/ttt/ -shared -o /home/sky7282/ttt/mynative.so

相关文章

网友评论

      本文标题:compile

      本文链接:https://www.haomeiwen.com/subject/xavxdxtx.html