MAC: Make gem5 compile and run on MacOSX 10.7.2
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 10 Jan 2012 00:08:20 +0000 (18:08 -0600)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 10 Jan 2012 00:08:20 +0000 (18:08 -0600)
commitc2dbfc1d6ca677f9b6fb8eaa60e4003a903e26bd
tree1835c4773d4f647f337fa40cecb8cbff48a0fb9e
parent4b772782871f265cf7372c984ad750803396938c
MAC: Make gem5 compile and run on MacOSX 10.7.2

Adaptations to make gem5 compile and run on OSX 10.7.2, with a stock
gcc 4.2.1 and the remaining dependencies from macports, i.e. python
2.7,.2 swig 2.0.4, mercurial 2.0. The changes include an adaptation of
the SConstruct to handle non-library linker flags, and Darwin-specific
code to find the memory usage of gem5. A number of Ruby files relied
on ambigious uint (without the 32 suffix) which caused compilation
errors.
SConstruct
ext/libelf/SConscript
src/base/hostinfo.cc
src/base/hostinfo.hh
src/cpu/testers/directedtest/DirectedGenerator.hh
src/cpu/testers/directedtest/InvalidateGenerator.cc
src/cpu/testers/directedtest/InvalidateGenerator.hh
src/cpu/testers/directedtest/RubyDirectedTester.hh
src/cpu/testers/directedtest/SeriesRequestGenerator.cc
src/cpu/testers/directedtest/SeriesRequestGenerator.hh