compiling OpenGL with GHc-6.2.1

Hi, I got the following error when trying to compile HOpenGL:
../../ghc/compiler/ghc-inplace -H16m -O -Wall -fffi -Iinclude '-#include
"HsOpen
GL.h"' -cpp -funbox-strict-fields -DCALLCONV=stdcall -package-name
OpenGL -O
-Rghc-timing -package base -split-objs -c
Graphics/Rendering/OpenGL/GL/Query
Utils.hs -o Graphics/Rendering/OpenGL/GL/QueryUtils.o -ohi
Graphics/Rendering/O
penGL/GL/QueryUtils.hi
<

Andre W B Furtado wrote:
Hi, I got the following error when trying to compile HOpenGL: [...] C:/haskell/cygwin/bin/ld: argument list too long [...]
Did you follow the building instructions on: http://haskell.org/ghc/docs/latest/html/building/winbuild.html exactly? Especially replacing the /bin/sh with a "real" bash and using "SplitObjs=NO" might help. Cheers, S.
participants (2)
-
Andre W B Furtado
-
Sven Panne