GCC compiling under windows NT 4.0

Hi!

I installed SDL and MGWin32.

I’m trying to compile the examples, but I allways get an error 'main’
defined twice, in libSDL.a and libmingw32.a.

Any clues?

Chris

Christopher Salomon wrote:

Hi!

I installed SDL and MGWin32.

I’m trying to compile the examples, but I allways get an error 'main’
defined twice, in libSDL.a and libmingw32.a.

Any clues?

Chris

This is a bug in the current public release of SDL. It’s fixed
internally, but I’m working on autoconf’ing SDL before I release it.
(Yes, I already got an autoconf patch, but I’m doing even more work on
it)

See ya!–
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Christopher Salomon wrote:

Hi!

I installed SDL and MGWin32.

I’m trying to compile the examples, but I allways get an error 'main’
defined twice, in libSDL.a and libmingw32.a.

Any clues?

Oh, sorry. The temporary fix is to rename ‘main’ to ‘mane’ with a
binary editor in libSDL.a It’s only in two places.–
-Sam Lantinga, Lead Programmer, Loki Entertainment Software