title: Is it possible to link to the math library from inside the C source code in gcc?
body: <p>When I tried to include <code>&lt;math.h&gt;</code> I found that I need to link math library by using command <code>gcc -lm</code></p>
  
  <p>But I am searching for another way to link the math library 'in code', that does not require the user to compile using any options..</p>
  
  <p>Can <code>gcc -lm</code> be done in C code using <code>#pragma</code> or something?</p>
  
  <p>EDIT: I have changed <code>-ml</code> to <code>-lm</code></p>