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:
2
.gitignore
vendored
2
.gitignore
vendored
@ -25,3 +25,5 @@ bochs/libtool
|
||||
bochs/ltdlconf.h
|
||||
|
||||
!bochs/plex86/kernel/freebsd/Makefile
|
||||
|
||||
simulators/gem5/*
|
||||
|
||||
@ -19,6 +19,14 @@ Required for the Bochs simulator backend:
|
||||
- libpthread
|
||||
- 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:
|
||||
**********************************************************************
|
||||
@ -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
|
||||
|
||||
@ -1 +0,0 @@
|
||||
scons EXTRAS=../../src/core/sal/gem5 --colors build/ARM/gem5.debug -j4
|
||||
Reference in New Issue
Block a user