Beginners question

Hello there,
got one simple question:

If I try to compile any of your test files packaged with
"SDL-devel-1.1.1-mingw32.tar.gz" I get this error:

…LIB\libmingw32.a(main.o)(.text+0x8e): undefined reference to
`WinMain at 16’

Please tell me what I’m doing wrong.
thanx in advance,
–Michael. (remove ‘SPAM’ if replying via email)

El dom, 26 de mar de 2000, a las 16:48, Michael Noisternig escribi?:

Hello there,
got one simple question:

If I try to compile any of your test files packaged with
"SDL-devel-1.1.1-mingw32.tar.gz" I get this error:

…LIB\libmingw32.a(main.o)(.text+0x8e): undefined reference to
`WinMain at 16’

Please tell me what I’m doing wrong.
thanx in advance,
–Michael. (remove ‘SPAM’ if replying via email)
------ Fin de mensaje original ------

Try with this options “-lmingw32 -lSDLmain -lSDL” the order is important :)–
Byes.

-Galtor-