I used to write OpenGL programs using GLUT in particular for the windowing which I was able to compile on Linux and Mac. Recently I have upgraded the Mac OS to Mountain Lion and installed the latest version of XCode. Of course things have changed drastically and now I need to compile with Clang (gcc is replaced by Clang++). It doesn't seem (reading another stackoverflow question) possible to use GLUT anymore and apparently it can be replaced by FreeGLUT or GLW?
GLUT on OS X with OpenGL 3.2 Core Profile
My question is: if I want to use OpenGL and need to have an easy/quick way of creating a window, an openGL context, etc., as we did before with GLUT, what's the best way of doing this now with Clang/XCode 4.5.2? I found really strange that I couldn't find information on the web regarding compiling OpenGL programs with Clang, and more information on a substitute to GLUT? Ideally, I'd like to keep compiling this code under Linux? Is it still an option to use GLX and write the window side of things myself? Can I still do that on the Mac?