Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

常见问题一,编译的时候添加 -fPIC 具体是什么操作? #1

Open
zuiyicanxue opened this issue Aug 30, 2017 · 2 comments

Comments

@zuiyicanxue
Copy link

你好,具体修改哪个文件?或者需要输入什么命令?希望能解答,帮助不太熟悉liunx的小白

@guoguo11
Copy link
Owner

guoguo11 commented Aug 30, 2017 via email

@ChiHoc
Copy link

ChiHoc commented Sep 18, 2018

release中执行

gcc -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/linux -c -fPIC *.c

jdk的路径换成自己的JAVA_HOME

Repository owner deleted a comment Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@guoguo11 @ChiHoc @zuiyicanxue and others