Commit graph

25 commits

Author SHA1 Message Date
Ryan C. Gordon
64941faf12 Corrected wrong SDK path in build-scripts/fatbuild.sh.
Fixes Bugzilla #377.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402265
2007-02-13 09:58:04 +00:00
Sam Lantinga
cb4f15a094 Almost added Mac OS X nasm support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401905
2006-06-26 05:27:15 +00:00
Sam Lantinga
fea6ccebe3 Fixed X11 support on Mac OS X Universal build
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401758
2006-05-10 05:17:58 +00:00
Sam Lantinga
92a1f4863c Fixed execv warning when libtool creates wrapper executables
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401720
2006-05-03 16:35:29 +00:00
Sam Lantinga
f573eff4b8 [From Sam]
> BTW, when setting up parallel make, I usually use # cpus + 1, so a compile is
> running while disk access is going for another.

[From Ryan]
My experience is that this works well on Linux, but is actually slower on
PowerPC Mac OS X...not sure if that's an architecture issue or a scheduler
issue, though, and haven't tried it on Intel Mac OS X.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401681
2006-04-28 05:46:07 +00:00
Sam Lantinga
7d07e3b48d Future proof C++ code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401680
2006-04-28 05:43:58 +00:00
Sam Lantinga
4422ede0bd Fixed bug #206, fatbuild.sh works flawlessly on Intel Macs
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401679
2006-04-28 05:38:06 +00:00
Ryan C. Gordon
12d7c190c2 fatbuild fixes:
- A change to define CXX in fatbuild, which comforts the configure script a little, even if we don't use C++ anywhere.
- Some code to see how many CPU cores exist and parallelize make across them.
- CFLAGS that apply to both archs are specified seperately (-O3, -pipe, etc)
- -fvisibility=hidden for the gcc4 builds
- a "clean", "clean-ppc" and "clean-x86" command
- Fix to SDL_config_macosx.h for the HAVE_ALLOCA_H thing.

Now builds on an Intel Mac.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401678
2006-04-27 11:18:03 +00:00
Sam Lantinga
592d2604d0 Trying to fix fatbuild.sh on intel
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401676
2006-04-27 10:21:54 +00:00
Sam Lantinga
d3375d8aba Mac OS X fat build works! :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401655
2006-04-22 19:17:14 +00:00
Sam Lantinga
f893c5177e I think this is it...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401653
2006-04-19 03:49:57 +00:00
Sam Lantinga
99861e398e *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401652
2006-04-17 14:27:47 +00:00
Sam Lantinga
859b58d1d6 Whoops, need the actual flags here
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401646
2006-04-17 03:37:30 +00:00
Sam Lantinga
1920fbcb79 A script to build a fat version of the SDL library... completely untested!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401643
2006-04-14 05:43:04 +00:00
Sam Lantinga
a5e03023d5 Don't hardcode the output directory
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401641
2006-04-14 03:56:31 +00:00
Sam Lantinga
1237375c2d Fixed bug #177
The attached patch changes configure.in to use "-framework FOO" instead of
"-Wl,-framework,FOO".

This avoid some issues with certain versions of libtool that do not handle
-framework properly.
Some versions of libtool will try to reorder the two parts of the option, or
render the 2nd part of the argument to the relative path of a non-existent
library.

Note: It is not enough if SDL uses a version of libtool that does this
correctly, because these -framework options show up in "sdl-config --libs".
Hence, some 3rd party apps which still ship with an old libtool have troubles
compiling under Mac OS X.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401618
2006-03-24 05:11:51 +00:00
Sam Lantinga
a4ce75efb7 Updated to libtool-1.5.22
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401574
2006-03-21 10:20:44 +00:00
Sam Lantinga
7c958aee64 CFLAGS are separate from EXTRA_CFLAGS
Fixed iconv.h detection on Cygwin32

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401525
2006-03-14 02:46:26 +00:00
Sam Lantinga
8feac6e16a Clean up temporary files. I'm not sure how this got removed, but whatever...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401497
2006-03-11 20:16:20 +00:00
Sam Lantinga
57e208b928 Date: Wed, 01 Mar 2006 10:14:31 +0000
From: "alan buckley"
Subject: Re: Updating SDL for RISC OS

I've attached a zip file with three diffs to get SDL to build on RISC OS.

configure.in.diff and makedeps.sh.diff have been modified so that they
can build the assembler file in video/riscos. You may want to double
check these as I don't know a lot about unix shell programming.
(I've tested them cross-compiling on cygwin).

sdlsysthread.diff is the changes required to SDL_systhread.c for RISC
OS. As you suspected with these changes in place you can delete the
RISC OS specific threading code in thread/riscos.

I've also renamed SDL_riscosASM.s to SDL_riscosASM.S, but I'm never
quite sure how to rename files in CVS, so if you could to this it would
be appreciated.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401463
2006-03-02 03:24:20 +00:00
Sam Lantinga
fb6b885718 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401421
2006-02-22 05:01:43 +00:00
Sam Lantinga
40c21d512e Fixed script on mingw
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401420
2006-02-22 04:44:33 +00:00
Sam Lantinga
ffe9fbfbdf Blargle-fnargle dependencies and build rules
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401395
2006-02-20 12:45:51 +00:00
Sam Lantinga
5b3fcf92ea Fixed build dependencies... ugh
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401392
2006-02-20 11:29:36 +00:00
Sam Lantinga
d3805eef09 New configure-based build system. Still work in progress, but much improved
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401365
2006-02-16 10:11:48 +00:00