Problems with main in a lib*.a. Is that a bug?
Andre Pang
ozone@algorithm.com.au
Wed, 11 Dec 2002 12:50:45 +1100
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 <ozone@algorithm.com.au> - trust.in.love.to.save