Author

Topic: How to compile with dynamic option (Read 385 times)

newbie
Activity: 40
Merit: 0
November 27, 2017, 04:05:50 AM
#2
G++ / GCC have -rdynamic flag. This will pass the --export-dynamic to the linker.
https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html

So you can use it like:

Code:
gcc -rdynamic


newbie
Activity: 5
Merit: 1
November 12, 2017, 05:28:24 AM
#1
I want to trace function calls. it needs to add -rdynamic option to g++ compiler. however, I am unsure where how must add this option to configure file or makefile.  Shocked

Thanks in advance
Jump to: