0ad/source/linux
2004-03-04 20:23:01 +00:00
..
sys System header overrides, required for some buggy headers - they should 2003-11-25 02:08:32 +00:00
ctime System header overrides, required for some buggy headers - they should 2003-11-25 02:08:32 +00:00
Makefile Updated after the big lib/ merge 2004-03-04 20:23:01 +00:00
pthread.h System header overrides, required for some buggy headers - they should 2003-11-25 02:08:32 +00:00
readme.txt profiling and run targets, descriptions in readme.txt 2003-11-30 16:41:21 +00:00

Linux build instructions

The Linux build is, so far, a bit hackish. Things might not work on another
system than mine, but it should work. The source/linux/ folder contains some
header files that exist to override and bug-fix some system headers. If you
have trouble with them, try renaming the offending header, and see if it does
you any good ;-)

What do I need?

- Xerces-C++ installed and in standard include path
- glext.h - you can put it in source/linux/GL/ if you don't have access to the
	system include path
- The Makefile is made for GCC 3.x.x - GCC 2.x might work, but it's not likely

Where are built things put?

The linux makefile follows the general directory layout of the VS workspaces:

source/linux/: makefile, system header overrides
binaries/: The built binaries - called "prometheus"
source/linux/deps/: Automatically generated dependency information for all
	source files
source/linux/o/: Object files

Makefile Targets:

all (default): build the prometheus executable
prof: build the prometheus.prof executable (instrumented version with call-counting)
clean: Remove all object, depend, and executable files

run: build prometheus and run it (from the binaries directory)
runProf: build prometheus.prof and run it