compiling OpenGL with GHc-6.2.1

"Andre W B Furtado" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <000501c4423d$1eb170c0$0401a8c0@aw>
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
<<ghc: 1294308556 bytes, 4559 GCs, 29887002/51155388 avg/max bytes residency
(12
 samples), 140M in use, 0,01 INIT (0,00 elapsed), 29,17 MUT (35,93 elapsed),
45,
06 GC (45,40 elapsed) :ghc>>
(cd Graphics/Rendering/OpenGL/GL/QueryUtils_split &&
C:/haskell/cygwin/bin/ld -r
 -x -o ../QueryUtils.o *.o);
C:/haskell/cygwin/bin/ld: argument list too long
make[2]: *** [Graphics/Rendering/OpenGL/GL/QueryUtils.o] Error 2
make[1]: *** [all] Error 1
make[1]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/libraries'
make: *** [build] Error 1

The procedure I did was:

cvs co fptools
cd fptools
autoreconf
$ ./configure --host=i386-unknown-mingw32 --with-gcc=c:/mingw/bin/gcc
--enable-hopengl
make all

Thanks,
-- Andre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.