compiling GHC with a custom path to GCC

Sven Panne Sven.Panne at
Fri Feb 18 03:21:53 EST 2005

Remi Turk wrote:
> [...] When using the following command-line
> CC=gcc3 CXX=g++3 nice ./configure --enable-hopengl --prefix=/var/tmp/ghc --with-gcc=/usr/local/bin/gcc3
> [...]

Slightly off-topic: You don't need --enable-hopengl anymore when compiling GHC 6.4 or the
CVS HEAD, the OpenGL/GLUT/OpenAL packages are automatically enabled when autoconf finds the
suitable libraries and headers. If you don't want that, you can use --disable-opengl,
--disable-glut and/or --disable-openal.


More information about the Glasgow-haskell-users mailing list