author | Ryan C. Gordon <icculus@icculus.org> |
Mon, 19 Mar 2007 04:30:10 +0000 | |
changeset 833 | b260f190aa59 |
parent 825 | b26da6cdcebb |
child 888 | 526efb0af72f |
permissions | -rw-r--r-- |
214
19846c18071b
Initial autoconf support.
Ryan C. Gordon <icculus@icculus.org>
parents:
208
diff
changeset
|
1 |
|
283 | 2 |
The latest PhysicsFS information and releases can be found at: |
3 |
http://icculus.org/physfs/ |
|
214
19846c18071b
Initial autoconf support.
Ryan C. Gordon <icculus@icculus.org>
parents:
208
diff
changeset
|
4 |
|
208
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
5 |
Building is (ahem) very easy. |
54 | 6 |
|
71 | 7 |
|
8 |
ALL PLATFORMS: |
|
91 | 9 |
|
809
116b8fe30371
Renamed LICENSE to LICENSE.txt
Ryan C. Gordon <icculus@icculus.org>
parents:
767
diff
changeset
|
10 |
Please understand your rights and mine: read the text file LICENSE.txt in the |
116b8fe30371
Renamed LICENSE to LICENSE.txt
Ryan C. Gordon <icculus@icculus.org>
parents:
767
diff
changeset
|
11 |
root of the source tree. If you can't abide by it, delete this source tree |
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
12 |
now. The license is extremely liberal, even to closed-source, commercial |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
13 |
applications. |
71 | 14 |
|
283 | 15 |
If you've got Doxygen (http://www.doxygen.org/) installed, you can run it |
16 |
without any command line arguments in the root of the source tree to generate |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
17 |
the API reference (or build the "docs" target from your build system). This |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
18 |
is optional. You can browse the API docs online here: |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
19 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
20 |
http://icculus.org/physfs/docs/ |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
21 |
|
283 | 22 |
|
71 | 23 |
|
24 |
||
488 | 25 |
UNIX: |
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
26 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
27 |
You will need CMake (http://www.cmake.org/) 2.4 or later installed. |
54 | 28 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
29 |
Run "cmake ." in the root of the source directory to generate Makefiles. |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
30 |
You can then run "ccmake ." and customize the build, but the defaults are |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
31 |
probably okay. You can have CMake generate KDevelop project files if you |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
32 |
prefer these. |
54 | 33 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
34 |
Run "make". PhysicsFS will now build. |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
35 |
|
230 | 36 |
As root, run "make install". |
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
37 |
If you get sick of the library, run "xargs rm < install_manifest.txt" as root |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
38 |
and it will remove all traces of the library from the system paths. |
54 | 39 |
|
488 | 40 |
Primary Unix development is done with GNU/Linux, but PhysicsFS is known to |
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
41 |
work out of the box with several flavors of Unix. It it doesn't work, patches |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
42 |
to get it running can be sent to icculus@icculus.org. |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
43 |
|
488 | 44 |
|
283 | 45 |
|
488 | 46 |
BeOS: |
47 |
||
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
48 |
Use the "Unix" instructions, above. The CMake port to BeOS is fairly new at |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
49 |
the time of this writing, but it works. You can get it from bebits.com ... |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
50 |
|
283 | 51 |
|
71 | 52 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
53 |
Windows: |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
54 |
|
283 | 55 |
If building with CygWin, mingw32 or something else that uses the GNU |
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
56 |
toolchain, follow the Unix instructions, above. |
230 | 57 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
58 |
If you want to use Visual Studio, nmake, or the Platform SDK, you will need |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
59 |
CMake (http://www.cmake.org/) 2.4 or later installed. Point CMake at the |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
60 |
CMakeLists.txt file in the root of the source directory and it will generate |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
61 |
project files for you. |
89
2f9f1d02aaca
Updated win32 build instructions.
Ryan C. Gordon <icculus@icculus.org>
parents:
71
diff
changeset
|
62 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
63 |
PhysicsFS will only link directly against system libraries that have existed |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
64 |
since Windows 95 and Windows NT 3.51. If there's a newer API we want to use, |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
65 |
we try to dynamically load it at runtime and fallback to a reasonable |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
66 |
behaviour when we can't find it...this is used for Unicode support and |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
67 |
locating user-specific directories, etc. |
283 | 68 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
69 |
PhysicsFS has not been tested on 64-bit Windows, but probably works. There is |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
70 |
no 16-bit Windows support at all. Reports of success and problems can go to |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
71 |
Ryan at icculus@icculus.org ... |
208
d176cef27a77
Updated win32 build info, other tweaks.
Ryan C. Gordon <icculus@icculus.org>
parents:
205
diff
changeset
|
72 |
|
91 | 73 |
If someone is willing to maintain prebuilt PhysicsFS DLLs, I'd like to hear |
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
74 |
from you; send an email to icculus@icculus.org ... |
91 | 75 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
76 |
|
283 | 77 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
78 |
PocketPC/WindowsCE: |
187 | 79 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
80 |
Code exists for PocketPC support, and there are shipping titles that used |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
81 |
PhysicsFS 1.0 on PocketPC...but it isn't tested in 2.0, and is probably |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
82 |
broken with the new build system. Please send patches. |
187 | 83 |
|
84 |
||
283 | 85 |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
86 |
MAC OS 8/9: |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
87 |
|
825
b26da6cdcebb
Dropped classic Mac OS support. Mac OS X remains supported, though.
Ryan C. Gordon <icculus@icculus.org>
parents:
820
diff
changeset
|
88 |
Classic Mac OS support has been dropped in PhysicsFS 2.0. Apple hasn't updated |
b26da6cdcebb
Dropped classic Mac OS support. Mac OS X remains supported, though.
Ryan C. Gordon <icculus@icculus.org>
parents:
820
diff
changeset
|
89 |
pre-OSX versions in almost a decade at this point, none of the hardware |
b26da6cdcebb
Dropped classic Mac OS support. Mac OS X remains supported, though.
Ryan C. Gordon <icculus@icculus.org>
parents:
820
diff
changeset
|
90 |
they've shipped will boot it for almost as many years, and finding |
b26da6cdcebb
Dropped classic Mac OS support. Mac OS X remains supported, though.
Ryan C. Gordon <icculus@icculus.org>
parents:
820
diff
changeset
|
91 |
developer tools for it is becoming almost impossible. As the switch to Intel |
b26da6cdcebb
Dropped classic Mac OS support. Mac OS X remains supported, though.
Ryan C. Gordon <icculus@icculus.org>
parents:
820
diff
changeset
|
92 |
hardware has removed the "Classic" emulation environment, it was time to |
b26da6cdcebb
Dropped classic Mac OS support. Mac OS X remains supported, though.
Ryan C. Gordon <icculus@icculus.org>
parents:
820
diff
changeset
|
93 |
remove support from PhysicsFS. That being said, the PhysicsFS 1.0 branch can |
b26da6cdcebb
Dropped classic Mac OS support. Mac OS X remains supported, though.
Ryan C. Gordon <icculus@icculus.org>
parents:
820
diff
changeset
|
94 |
still target back to Mac OS 8.5, so you can use that if you need support for |
b26da6cdcebb
Dropped classic Mac OS support. Mac OS X remains supported, though.
Ryan C. Gordon <icculus@icculus.org>
parents:
820
diff
changeset
|
95 |
this legacy OS. We still very much support Mac OS X, though: see below. |
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
96 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
97 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
98 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
99 |
MAC OS X: |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
100 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
101 |
You will need CMake (http://www.cmake.org/) 2.4 or later installed. |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
102 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
103 |
You can either generate a Unix makefile with CMake, or generate an Xcode |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
104 |
project, whichever makes you more comfortable. |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
105 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
106 |
PowerPC and Intel Macs should both be supported. |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
107 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
108 |
If someone is willing to maintain prebuilt PhysicsFS Shared Libraries for |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
109 |
Mac OS X, I'd like to hear from you; send an email to icculus@icculus.org. |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
110 |
|
283 | 111 |
|
112 |
||
488 | 113 |
OS/2: |
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
114 |
|
820 | 115 |
You need Innotek GCC and libc installed (or kLIBC). I tried this on a stock |
116 |
Warp 4 install, no fixpaks. You need to install link386.exe (Selective |
|
117 |
Install, "link object modules" option). Once libc and GCC are installed |
|
118 |
correctly, unpack the source to PhysicsFS and run the script |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
119 |
file "makeos2.cmd". I know this isn't ideal, but I wanted to have this build |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
120 |
without users having to hunt down a "make" program (While several exist, EMX |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
121 |
doesn't come with one). If someone wants to hack some REXX to make this a bit |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
122 |
more picky about recompiling, I'll accept the patch. |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
123 |
|
820 | 124 |
Someone please port CMake to OS/2. |
488 | 125 |
|
126 |
If someone is willing to maintain prebuilt PhysicsFS Shared Libraries for |
|
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
127 |
OS/2, I'd like to hear from you; send an email to icculus@icculus.org. |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
128 |
|
488 | 129 |
|
283 | 130 |
|
187 | 131 |
OTHER PLATFORMS: |
812
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
132 |
|
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
133 |
Many Unix-like platforms might "just work" with CMake. Some of these platforms |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
134 |
are known to have worked at one time, but have not been heavily tested, if |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
135 |
tested at all. PhysicsFS is, as far as we know, 64-bit and byteorder clean, |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
136 |
and is known to compile on several compilers across many platforms. To |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
137 |
implement a new platform or archiver, please read the heavily-commented |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
138 |
physfs_internal.h and look in the platform/ and archiver/ directories for |
b987fcf6f707
Updated INSTALL.txt with updated info.
Ryan C. Gordon <icculus@icculus.org>
parents:
811
diff
changeset
|
139 |
examples. |
187 | 140 |
|
767
db29bf06d171
Changed my email address.
Ryan C. Gordon <icculus@icculus.org>
parents:
680
diff
changeset
|
141 |
--ryan. (icculus@icculus.org) |
54 | 142 |