From: Ali Saidi Date: Wed, 8 Dec 2010 00:19:57 +0000 (-0800) Subject: Configs: Automatically choose the correct hello world binary. X-Git-Tag: stable_2012_02_02~708 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18555c1b56b27604bbb8e59302ad6ffa0d799534;p=gem5.git Configs: Automatically choose the correct hello world binary. --- diff --git a/configs/example/se.py b/configs/example/se.py index a249f46dd..7cf11603e 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -59,7 +59,8 @@ parser = optparse.OptionParser() # Benchmark options parser.add_option("-c", "--cmd", - default=joinpath(m5_root, "tests/test-progs/hello/bin/alpha/linux/hello"), + default=joinpath(m5_root, "tests/test-progs/hello/bin/%s/linux/hello" % \ + buildEnv['TARGET_ISA']), help="The binary to run in syscall emulation mode.") parser.add_option("-o", "--options", default="", help='The options to pass to the binary, use " " around the entire string')