title: G++ math.h problem
body: <p>I'm hoping someone has come across this problem before too.</p>
  
  <p>I am trying to use visual studio to develop for Linux with G++.</p>
  
  <p>I am trying to include math.h and use tanf()</p>
  
  <p>If I compile with the g++ compiler, "arm-none-linux-gnueabi-g++", everything works</p>
  
  <p>but if I add this include directory, which the docs say is the right one, and
  "CodeSourcery\Sourcery G++ Lite\arm-none-linux-gnueabi\libc\usr\include\"
  then include math.h,</p>
  
  <p>visual studio does not recognize any of the math functions, namely tanf().</p>
  
  <p>anyone have any idea why?</p>
  
  <p>thanks for any help.</p>
  
  <p>edit:
  the same app successfully compiles with this command line:<br>
  arm-none-linux-gnueabi-g++ -o test main.cpp "-I%PALMPDK%\include" "-I%PALMPDK%\include\SDL" "-L%PALMPDK%\device\lib" -Wl,--allow-shlib-undefined -lSDL -lGLESv2 -lpdl</p>