Hi!
I try to load a shared library via dlopen() at runtime. Therefore I have
to set the linker-flag to “-rdynamic” on Linux. But on QNX6.2 this
linker-flag doesn’t exist. What should I use instead to get it work?
here’s my sample code I used:
http://linux4u.jinr.ru/usoft/WWW/www_debian.org/Documentation/elf/node7.html
thanks!
mirtch
-shared. Make sure you either pass -fpic or -shared to the compile
stages as well, or your shared library will cause a SIGSEGV when you
load it.
mirtch <mirtch@gmx.net> wrote:
Hi!
I try to load a shared library via dlopen() at runtime. Therefore I have
to set the linker-flag to “-rdynamic” on Linux. But on QNX6.2 this
linker-flag doesn’t exist. What should I use instead to get it work?
here’s my sample code I used:
http://linux4u.jinr.ru/usoft/WWW/www_debian.org/Documentation/elf/node7.html
thanks!
mirtch
–
cburgess@qnx.com