[SDL] SDL on MinGW -- problem with SDLMain and WinMain()

Johannes Schmidt sdl at myrealbox.com
Thu Nov 27 09:20:01 PST 2003

Hmm, I should read both, the wohle thread and the whole message before 
answering ... :)

Am Donnerstag 27 November 2003 17:57 schrieb Johannes Schmidt:
> Am Donnerstag 27 November 2003 05:47 schrieb John Silicon:
> > Hrmmm... Adding those flags to my command line just gives these errors:
> >     g++.exe: shell: No such file or directory
> >     g++.exe: sdl-config: No such file or directory
> > This happens for both running g++ from the command line, and if I just
> > whip up a small makefile for it.  Did I do something wrong?
> The $(shell bla) command is expanded by make to a shell command executing
> bla. If you want to add this to the command line, simply add `bla` (in
> back-ticks) instead of the whole expression, e.g.
> g++.exe -c test.cpp `sdl-config --cflags`.
> See here:
> http://www.libsdl.org/faq.php?action=listentries&category=3#21

More information about the SDL mailing list