compiling opengl using cygwin

Hi,

when trying to compile opengl under cygwin I get linker errors indicating that the libraries opengl32 glu32 and glut32 arent found (as in undefined reference to various gl, glu and glut functions).
However, I correctly specified their path for g++. Even when putting the libs into the same directory as the cpp sourcefile, I still get the linker errors.

Thanks. Any help appreciated.

Adhara