Hi Chetan,
I routinely change compiler by setting CC and CXX, e.g in bash.
export CC=gcc-4.4
export CXX=g++-4.4
Good luck.
Andreas
From: Chetan Patil <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list
<[email protected]<mailto:[email protected]>>
Date: Friday, 11 October 2013 17:15
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: [gem5-users] Building gem5 on x86_64 Red Hat
Hi,
I want to build gem5 on x86_64 Red Hat server where I don't have root access.
When I run : scons build/ARM/gem5.opt it prints following error :
scons: Reading SConscript files ...
Error: gcc version 4.4 or newer required.
Installed version: 4.1.2
I understand that gcc version being detected as per SConscript isn't 4.4 or up.
However, the server does have following gcc configured :
gcc44 (GCC) 4.4.7 20120313 (Red Hat 4.4.7-1)
This left me with two things : Either to edit SConscript or to configure gcc
locally and ask SConscript to detect that. However, building gcc is taking time
and hasn't been a success for me.
May anyone please guide me on how I can get gem5 up and running on Red Hat
server ? Also, if I'm correct then different flavors of Linux OS configure gcc
differently, then editing SConscript such that it checks for other type of gcc
configuration is ideal option ?
--
Thank You and Warm Regards,
Chetan Patil
-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the information in any
medium. Thank you.
ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
Registered in England & Wales, Company No: 2548782_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users