简体   繁体   English

Linux:如何找到Opensuse提供的库(即libOSmesa.so)的编译标志?

[英]Linux : How can i find compilation flag of library provided by Opensuse i.e libOSmesa.so?

I want to know compilation flag used to compile library provided by OpenSUSE. 我想知道用于编译OpenSUSE提供的库的编译标志。 ie libOSmesa.so provided by OpenSUSE. 即由OpenSUSE提供的libOSmesa.so。 Is there any way to find out flags used in compiling these libraries 有没有办法找出在编译这些库时使用的标志

You can check build logs in OBS, see "Build Results" widget on package page. 您可以在OBS中检查构建日志,请参阅软件包页面上的“构建结果”窗口小部件。 For example Mesa package in openSUSE 13.2: https://build.opensuse.org/build/openSUSE:13.2/standard/x86_64/Mesa/_log If you are looking for default C/C++ build flags, use rpm --eval "%{optflags}" 例如openSUSE 13.2中的Mesa包https : rpm --eval "%{optflags}" :13.2 rpm --eval "%{optflags}"如果要查找默认的C / C ++构建标志,请使用rpm --eval "%{optflags}"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在OpenSUSE Linux上安装和运行Docker CE? - How can I install and run Docker CE on OpenSUSE Linux? 如何存储 find 生成的文件,即实际文件和内容作为文件而不是 find 的控制台 output? - How can I store the file that find produces i.e the actual file and contents as a file and not the console output of find? 如何从Linux内核空间(即从自定义系统调用)添加自定义扩展属性 - How to add a custom Extended Attribute from Linux kernel space (i.e from a custom system call) 如何在Linux apache托管服务器(即,仅主机,bluehost)中使用https配置redmine - How to configure redmine with https, in linux apache hosting server (i.e just host, bluehost) shell(bash)如何在Linux中工作,即它如何处理后台运行进程 - How does shell(bash) works in linux i.e How it handles background running process 在Linux内核中的哪里可以找到IRQF_NODELAY标志? - Where can I find IRQF_NODELAY flag in Linux kernel? Linux,我可以重定向外部库(.so)的调试输出吗 - Linux, can I redirect the debug output of a external library (.so) 如何在ELF文件中挂钩c函数,在Linux中使用库.so? - How can I hook c function from ELF file, that uses library .so in Linux ? Scrapy-在Linux Ubuntu E4.5上的哪里可以找到它 - Scrapy - Where can I find it on Linux Ubuntu E4.5 如何在Mac OS中链接linux .so共享库? - How could I link a linux .so shared library in Mac os?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM