g++ -shared -o libofdxJNI.so xReader.o -L/home/yozo/JNI/xReader/ofd/this64/amd64 -lxkrnl -lkernelbase -lfitmath -liconv 这段命令行在linux中是什么意思
时间: 2023-12-20 09:03:48 浏览: 36
这段命令行是在 Linux 系统中使用 g++ 编译一个共享库 libofdxJNI.so,其中 libofdxJNI 是库的名字,.so 是共享库的扩展名。编译过程中需要链接 xReader.o 对象文件和 -lxkrnl、-lkernelbase、-lfitmath、-liconv 四个库文件。其中 -L 指定要链接的库文件所在的目录,-l 指定要链接的库文件名字,g++ 会在指定的目录中查找这些库文件进行链接。
相关推荐
![application/x-rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![jpg](https://img-home.csdnimg.cn/images/20210720090814.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)