🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

how to use dynamic link so file in cygwin

Started by
0 comments, last by Null and Void 13 years, 7 months ago
Somebody know how to use dynamic link so file in cygwin?
g++ in cygwin cannot recognize the option '-rdynamic'.
If I have a so file(dynamic link), where should I put it in cygwin?
I caanot find any so file in cygwin.
akira32 編程之家 Yahoohttp://tw.myblog.yahoo.com/akira32-akira32
Advertisement
Quote: -rdynamic: Pass the flag -export-dynamic to the ELF linker, on targets that support it. This instructs the linker to add all symbols, not only used ones, to the dynamic symbol table. This option is needed for some uses of "dlopen" or to allow obtaining backtraces from within a program.

Windows and Cygwin target PE/COFF rather than ELF. An ELF shared object ("so") would be instead a dynamic-link library (DLL). Here's some documentation on DLLs in Cywgin: Building and Using DLLs.

This topic is closed to new replies.

Advertisement