Mercurial > sdl-ios-xcode
annotate README.CVS @ 1550:31c2b8e4885e
Fixed bug #166
From the autoconf obsolete macros documentation:
Macro: AC_CANONICAL_SYSTEM
Determine the system type and set output variables to the names of the canonical system types. See section Getting the Canonical System Type, for details about the variables this macro sets.
The user is encouraged to use either AC_CANONICAL_BUILD, or AC_CANONICAL_HOST, or AC_CANONICAL_TARGET, depending on the needs. Using AC_CANONICAL_TARGET is enough to run the two other macros.
From the documentation for the canonical environments:
case $target in
i386-*-mach* | i386-*-gnu*)
obj_format=aout emulation=mach bfd_gas=yes ;;
i960-*-bout) obj_format=bout ;;
esac
Note that the above example uses $target because it's taken from a tool which can be built on some architecture ($build), run on another ($host), but yet handle data for a third architecture ($target). Such tools are usually part of a compiler suite, they generate code for a specific $target.
However $target should be meaningless for most packages. If you want to base a decision on the system where your program will be run, make sure you use the $host variable.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 19 Mar 2006 05:27:22 +0000 |
parents | ec659230eaac |
children | dc219ba4cf45 |
rev | line source |
---|---|
0 | 1 |
2 The latest development version of SDL is available via CVS: | |
3 | |
895
ec659230eaac
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
4 cvs -d :pserver:guest@libsdl.org:/home/sdlweb/libsdl.org/cvs login |
172
37e3ca9254c7
Date: Sat, 8 Sep 2001 04:42:23 +0200
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
5 # No password, so just hit enter when prompted for a password |
895
ec659230eaac
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
6 cvs -d :pserver:guest@libsdl.org:/home/sdlweb/libsdl.org/cvs checkout SDL |
0 | 7 |
8 When you check a fresh copy of SDL out of CVS, you need to generate | |
9 the files used by make by running the "autogen.sh" script, which will | |
10 run aclocal, automake, autoconf and then run configure. | |
11 | |
172
37e3ca9254c7
Date: Sat, 8 Sep 2001 04:42:23 +0200
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
12 There is a web interface to cvs at http://www.libsdl.org/cgi/cvsweb.cgi |
0 | 13 |