Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 ubuntu 上,生成的某个 .so 文件是可执行的。当我点击选项卡以自动完成时,我得到“something.so main.executable”而不是“main.executable”,这有点令人烦恼。
是否有一个标志可以传递给链接器以避免 chmod 或者我必须在事后手动 chmod -x ?