[SDL] SDL with cross-mingw32 under linux / dos box

Ray Kelm rhk at newimage.com
Thu Aug 16 19:08:01 PDT 2001


On Thursday 16 August 2001 11:10, you wrote:
> hi,
>
> if i compile a SDL application with mingw32 under
> linux and execute it on a win98 machine it works
> fine, but on every startup of the application a
> dos box is opened.
>
> so it looks like a console application but it isn't..
>
> how do i prevend this?
>
> btw. the application itself opens a window and
> does it's job really fine. so from my personal
> view there is no need to open a dosbox..
>
> cu
>  rasca

Add -mwindows to your command line when linking the executable.

-Ray




More information about the SDL mailing list