On Tue, Dec 10, 2002 at 05:25:46PM +0100, Nicolas Oury wrote:

> but when I write
> 
> ghc -o test Main.hs -lSDLmain, ghc creates its own main, and it doesn't 
> work.

Probably a stupid question, but if SDL supplies its own main
function, then you don't have to put your functions in a module
called Main ...?  (i.e. rename your Main module to something
else random, like Foo)


-- 
#ozone/algorithm <[EMAIL PROTECTED]>          - trust.in.love.to.save
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to