Is it possible to link to the math library from inside the C source code in gcc? -


When I did & lt; Math.h> Trying to include then I came to know that I use the math command gcc -lm

using the library, but I add the math library to 'code' Looking for another method for which the user does not need to compile to use any of the options. gcc -lm can be done in C code using #pragma

edit: I use -ml -lm

Common ways to simplify complexity for a user ( Or actually for developers) write makeup


Comments