Hi Marko,

Thank you for quick replay!

I have read the links you provided. But it still bothers me since I cannot
build gem5 for x86 successfully. I could build gem5 for alpha, but building
it for x86 is fail with the following information. Could you give me some
hints on this? Thanks!

~/work/simulators/gem5/gem5$ scons build/X86/gem5.opt -j4


scons: Reading SConscript files ...

Checking for leading underscore in global variables...no

Checking for C++11 static_assert support...yes

Checking for C header file Python.h... yes

Checking for C library pthread... yes

Checking for C library dl... yes

Checking for C library util... yes

Checking for C library m... yes

Checking for C library python2.6... yes

Checking for accept(0,0,0) in C++ library None... yes

Checking for zlibVersion() in C++ library z... yes

Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... no

Checking for clock_nanosleep(0,0,NULL,NULL) in C library rt... yes

Checking for C library tcmalloc_minimal... no

You can get a 12% performance improvement by installing tcmalloc
(libgoogle-perftools-dev package on Ubuntu or RedHat).

Checking for C header file fenv.h... yes

Reading SConsopts

Building in /home/lihao/work/simulators/gem5/gem5/build/X86

Using saved variables file
/home/lihao/work/simulators/gem5/gem5/build/variables/X86

TypeError: File /home/lihao/work/simulators/gem5/gem5/build/X86 found where
directory expected.:

  File "/home/lihao/work/simulators/gem5/gem5/SConstruct", line 1113:

    exports = 'env')

  File "/usr/lib/scons/SCons/Script/SConscript.py", line 616:

    return apply(method, args, kw)

  File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:

    files, exports = self._get_SConscript_filenames(ls, subst_kw)

  File "/usr/lib/scons/SCons/Script/SConscript.py", line 448:

    self.fs.VariantDir(variant_dir, src_dir, duplicate)

  File "/usr/lib/scons/SCons/Node/FS.py", line 1295:

    variant_dir = self.Dir(variant_dir)

  File "/usr/lib/scons/SCons/Node/FS.py", line 1286:

    return self._lookup(name, directory, Dir, create)

  File "/usr/lib/scons/SCons/Node/FS.py", line 1253:

    return root._lookup_abs(p, fsclass, create)

  File "/usr/lib/scons/SCons/Node/FS.py", line 2123:

    result.diskcheck_match()

  File "/usr/lib/scons/SCons/Node/FS.py", line 1416:

    "File %s found where directory expected.")

  File "/usr/lib/scons/SCons/Node/FS.py", line 410:

    raise TypeError, errorfmt % node.abspath



2012/11/11 Marko Zivkovic <[email protected]>

> Hello David,
>
> use:
>
> scons build/X86/gem5.opt -j4
>
> I think that this can help you a lot. Video Tutorials
> http://www.m5sim.org/Tutorials
>
> You should start with basic and running experiments video tutorials.
>
> Hope this helps
>
> On Sun, Nov 11, 2012 at 5:06 PM, lee david <[email protected]> wrote:
>
>> Hi guys,
>>
>> I am new to gem5. I am hesitate to ask this question but I cannot find an
>> answer for it.
>>
>> I want to simulate x86 with gem5. I downloaded the latest version of
>> GEM5 with "hg clone http://repo.gem5.org/gem5“. From the README or
>> Documentation page on the GEM5, I saw that I should compile GEM5 with "scons
>> build/<ARCH>/gem5.opt". However, I couldn't find the build directory.
>> Could you please tell me how to build GEM5 for x86? My GEM5 directory is as
>> follows:
>>
>> ~/work/simulators/gem5/gem5$ ls
>> build  build_opts  configs  COPYING  ext  LICENSE  parser.out
>>  parsetab.py  README  SConstruct  src  system  tests  util
>>
>> Thanks guys!
>>
>>  Best,
>> David
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to