>>213
VCならこれでいけると思われ。
#include <GL/glut.h>
#pragma comment(linker,"/subsystem:windows")
#pragma comment(linker,"/entry:mainCRTStartup")