title: compile opengl with mingw in linux
body: <p>i wanted to ask how can i compile opengl with mingw. (in linux)
  For c++ files i know i can do this :</p>
  
  <p>i586-mingw32msvc-g++  main.cpp -o main.exe</p>
  
  <p>and its ok.</p>
  
  <p>If i try it with opengl project ,it gives me errors ,like :
  glutInit’ was not declared in this scope   etc..</p>
  
  <p>I copied glut.h ,glx.h,freeglut.h in the /usr/i586-mingw32msvc/include/GL 
  but nothing happend.</p>