RE: Prologue junk?
"Simon Marlow" <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <9584A4A864BD8548932F2F88EB30D1C60B4FAD67@tvp-msg-01.europe.corp.microsoft.com> |
> ... > > make all - --no-print-directory; > > in /root/fuentes/HOpenGL-1.03/examples/misc > > ------------------------------------------------- > > "/usr/bin/ghc" -i../../lib -I../../lib -syslib util > -> fglasgow-exts > > -I/usr/X11R6/include "-#include <GL/glut.h>" -O > > -c Info.hs -o Info.o > > > > Prologue junk?: .globl __stginit_Main > > __stginit_Main: > > pushl %ebp > > movl %esp, %ebp > > I get this error making redbook examples on Mandrake > 9.0. What does it mean? This is a conflict between the way gcc is configured on Mandrake and the way we need to use it for GHC. There is a proper fix in CVS for the problem, but a workaround is to add the flag -optc-mno-omit-leaf-frame-pointer to the GHC command line. (I haven't actually tested this, but it *should* work - please let me know). Cheers, Simon