Wed, 19 Jan 2011 11:35:54 -0800Added post build step to copy SDL and data files into the test projects
Sam Lantinga [Wed, 19 Jan 2011 11:35:54 -0800] rev 5033
Added post build step to copy SDL and data files into the test projects

Wed, 19 Jan 2011 11:35:31 -0800Removed extra space
Sam Lantinga [Wed, 19 Jan 2011 11:35:31 -0800] rev 5032
Removed extra space

Wed, 19 Jan 2011 10:14:11 -0800Added XFlush() so changes happen immediately instead of waiting for the next event loop.
Sam Lantinga [Wed, 19 Jan 2011 10:14:11 -0800] rev 5031
Added XFlush() so changes happen immediately instead of waiting for the next event loop.

Wed, 19 Jan 2011 00:07:43 -0800Greg Jandl to SDL
Sam Lantinga [Wed, 19 Jan 2011 00:07:43 -0800] rev 5030
Greg Jandl to SDL

I *think* the patch below works correctly: sdl-config gets the -march
flag and SDL builds fine. Perhaps there's a better way to get the
-march flag into both CFLAGS and SDL_FLAGS w/o dragging along more
cruft, but adding it to BASE_CFLAGS seemed the best bet to my eyes.

Tue, 18 Jan 2011 22:40:45 -0800Greg Jandl to SDL
Sam Lantinga [Tue, 18 Jan 2011 22:40:45 -0800] rev 5029
Greg Jandl to SDL

I did some digging, and I think I've found a better solution. By
including some additional .m4 macros in the acinclude directory
(http://www.gnu.org/software/autoconf-archive/ax_check_compiler_flags.html,
http://www.gnu.org/software/autoconf-archive/ax_gcc_archflag.html and
http://www.gnu.org/software/autoconf-archive/ax_gcc_x86_cpuid.html)
then using the patch below (same as previous patch + one line change
to configure.in), SDL will build correctly out of the box.

The arch can then be overridden by --with-gcc-arch=<arch> (most will
probably want to build with i686 there for general distribution) or
--without-gcc-arch, to disable setting the arch all together.

On my Atom netbook, I get -march=PentiumPro by default, which works
great, as does --with-gcc-arch=i686.

Tue, 18 Jan 2011 22:10:37 -0800Whoops, good catch from Greg Jandl
Sam Lantinga [Tue, 18 Jan 2011 22:10:37 -0800] rev 5028
Whoops, good catch from Greg Jandl

Tue, 18 Jan 2011 17:23:44 -0800Fixed building with the latest iOS SDK (4.2)
Sam Lantinga [Tue, 18 Jan 2011 17:23:44 -0800] rev 5027
Fixed building with the latest iOS SDK (4.2)

Tue, 18 Jan 2011 16:55:03 -0800Fixed building with the latest iOS SDK (4.2)
Sam Lantinga [Tue, 18 Jan 2011 16:55:03 -0800] rev 5026
Fixed building with the latest iOS SDK (4.2)

Tue, 18 Jan 2011 16:47:14 -0800Fixed missing source files in static library target
Sam Lantinga [Tue, 18 Jan 2011 16:47:14 -0800] rev 5025
Fixed missing source files in static library target
Fixed building SDL test programs

Tue, 18 Jan 2011 15:07:53 -0800Not all MinGW compilers have intrin.h, so we'll only use this with Visual Studio.
Sam Lantinga [Tue, 18 Jan 2011 15:07:53 -0800] rev 5024
Not all MinGW compilers have intrin.h, so we'll only use this with Visual Studio.
That's actually okay, since gcc has the builtin atomic intrinsics. :)