Adding build description for gem5.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1460 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
friemel
2012-07-29 16:11:14 +00:00
parent 41ef24747b
commit f3f58750c9
3 changed files with 30 additions and 1 deletions

2
.gitignore vendored
View File

@ -25,3 +25,5 @@ bochs/libtool
bochs/ltdlconf.h
!bochs/plex86/kernel/freebsd/Makefile
simulators/gem5/*

View File

@ -20,6 +20,14 @@ Required for the Bochs simulator backend:
- Probably more, depending on, e.g., the GUI you configure (X11 ->
libxrandr-dev)
Required for the gem5 simulator backend:
**********************************************************************
- SCons
- SWIG
- zlib
- m4
- python-dev
For distribution/parallelization:
**********************************************************************
- rsync
@ -193,3 +201,23 @@ For the first time:
/fs/proj/compiler/codesourcery-arm-eabi (DO, ios/kos)
TODO: Source setup.sh, setupImperas ...
TODO: Fix Hard-coded paths
Building gem5:
**********************************************************************
For the first time:
------------------------------------------------------------
1. Change to the gem5 simulator directory (expects to be in ${FAIL_DIR}):
$ cd simulators/gem5
2. Get the gem5 sourcecode from the stable repository (Mercurial needed)
$ hg clone http://repo.gem5.org/gem5-stable ./
Optimized build:
------------------------------------------------------------
$ cd ../simulator/gem5
$ scons EXTRAS=../../src/core/sal/gem5 build/ARM/gem5.fast
Debug build:
------------------------------------------------------------
$ cd ../simulator/gem5
$ scons EXTRAS=../../src/core/sal/gem5 build/ARM/gem5.debug

View File

@ -1 +0,0 @@
scons EXTRAS=../../src/core/sal/gem5 --colors build/ARM/gem5.debug -j4