PACKAGE NAME ------------ neko_physicsfs DESCRIPTION ----------- PhysicsFS is a library to provide abstract access to various archives. It is intended for use in video games, and the design was somewhat inspired by Quake 3's file subsystem. The programmer defines a "write directory" on the physical filesystem. No file writing done through the PhysicsFS API can leave that write directory, for security. For example, an embedded scripting language cannot write outside of this path if it uses PhysFS for all of its I/O, which means that untrusted scripts can run more safely. Symbolic links can be disabled as well, for added safety. For file reading, the programmer lists directories and archives that form a "search path". Once the search path is defined, it becomes a single, transparent hierarchical filesystem. This makes for easy access to ZIP files in the same way as you access a file directly on the disk, and it makes it easy to ship a new archive that will override a previous archive on a per-file basis. Finally, PhysicsFS gives you platform-abstracted means to determine if CD-ROMs are available, the user's home directory, where in the real filesystem your program is running, etc More information can be found under http://www.icculus.org/physfs/ . SOURCE/VERSION -------------- physfs-3.0.2 / 3 IRIX/MIPSPRO VERSION -------------------- 6.5.22 / 7.4.4m ENVIRONMENT VARIABLES --------------------- setenv CC c99 setenv CFLAGS '-O2 -mips4 -n32' setenv CPPFLAGS '-I/usr/nekoware/include' setenv LDFLAGS '-L/usr/nekoware/lib' setenv LDSHARED '-Wl,-set_version -Wl,sgi1.0' for building on mips3 systems, use: setenv CFLAGS '-O2 -mips3 -n32' BUILD ----- cd physfs-3.0.2 patch -p0 < physfs-3.0.2_irix.patch mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr/nekoware gmake gmake install KNOWN DEPENDENCIES ------------------ neko_readline.sw.lib 5 for the test_physfs program cmake and gmake to build the package ERRORS/MISCELLANEOUS -------------------- The patch is used to add IRIX support in the CMakeLists.txt and the platform list so that alloca.h can be sourced, together with the ordinary UNIX and POSIX symbols. This package has dual support for both mips3 and mips4 architecture, controlled by the mach(CPUARCH=R4000) switch for libraries and executables. PACKAGED BY ----------- S/N VER PORTER Date --------------------------------------------------------------- 2 1.0.0 Joerg Behrens (behrens@takenet.de) 26-02-2005 3 3.0.2 Frank Everdij (dexter1@gmail.com) 12-04-2019