Re: [Haskell-cafe] Haskell, SDL, OpenGL

2005-07-20 Thread Sven Panne
Am Montag, 18. Juli 2005 18:46 schrieb yin: [...] ld-options: -L/usr/lib -Wl -rpath /usr/lib -lSDL This looks a bit suspicious: The syntax for ld options is -rpath DIR, so the option for gcc should be -Wl,-rpath,DIR. Ugly, but I didn't invent that. :-) Furthermore, I've never seen a

Re: [Haskell-cafe] Haskell, SDL, OpenGL

2005-07-20 Thread Lemmih
On 7/20/05, Sven Panne [EMAIL PROTECTED] wrote: Am Montag, 18. Juli 2005 18:46 schrieb yin: [...] ld-options: -L/usr/lib -Wl -rpath /usr/lib -lSDL This looks a bit suspicious: The syntax for ld options is -rpath DIR, so the option for gcc should be -Wl,-rpath,DIR. Ugly, but I didn't

[Haskell-cafe] Haskell, SDL, OpenGL

2005-07-18 Thread yin
Hello, I'm trying to write a 3D renderer in Haskell using SDL bindings (Lemmih) and OpenGL bindings. When I try to compile my work, ghc runs collect2: /usr/libexec/gcc/i686-pc-linux-gnu/3.4.3-20050110/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o a.out -u

Re: [Haskell-cafe] Haskell, SDL, OpenGL

2005-07-18 Thread Lemmih
On 7/18/05, yin [EMAIL PROTECTED] wrote: Hello, I'm trying to write a 3D renderer in Haskell using SDL bindings (Lemmih) and OpenGL bindings. When I try to compile my work, ghc runs collect2: /usr/libexec/gcc/i686-pc-linux-gnu/3.4.3-20050110/collect2 --eh-frame-hdr -m elf_i386

Re: [Haskell-cafe] Haskell, SDL, OpenGL

2005-07-18 Thread yin
Lemmih wrote: On 7/18/05, yin [EMAIL PROTECTED] wrote: Lemmih wrote: On 7/18/05, yin [EMAIL PROTECTED] wrote: Hello, I'm trying to write a 3D renderer in Haskell using SDL bindings (Lemmih) and OpenGL bindings. When I try to compile my work, ghc runs collect2: I just