I am a student and I faced a problem: When I use pow or asin in my Linux programs and try to debug it with GDB I get the error: undefined reference to 'pow'.
I know that to fix this in the GCC compiler, I need to add the -lm key. Is there some key like -lm for GDB?