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.
有人知道在 ELF/linux 中相当于 Mach-O 的两级命名空间符号解析吗?我想要链接到 lib+sym 的代码,而不是 sym。
我正在尝试做可以最好地描述为通常是 JIT 编译的预编译。我想获得符号的编译时绑定,这通常由 dlopen/dlsym 完成。但是,可能会发生冲突,dlopen/dlsym 可以很好地避免这种情况。
似乎 ELF 实际上缺少这个,并且有 VERSION 的东西,但是任何解决方法或建议都会受到赞赏。
没有等效的 ELF(通常不需要)。
这听起来像你想要dlmopen的。
dlmopen