If you do the export in a shell it will only apply to that process. If you 
want, you can also have a "gem5_env" or similar that you source every time you 
do gem5 work. Lastly, you can add the CXX=g++44 and CC=gcc44 on the command 
line.

Hope that helps.

Andreas

From: "SHARAN MORA (RIT Student)" <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Sunday, 27 January 2013 14:46
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] (no subject)

I want to specify gem5 which g++ compiler to use (in this case g++44), not 
change default compiler of bash. In which file can I set the compiler path
Thanks


On Sat, Jan 26, 2013 at 9:50 PM, Fangfei Liu 
<[email protected]<mailto:[email protected]>> wrote:

Hi, you can add an environment variable CXX. For example, if you use bash, you 
can add a line in your .bashrc file:



export CXX=g++44



Hope it helps.

________________________________
From: [email protected]<mailto:[email protected]> 
[[email protected]<mailto:[email protected]>] on behalf of 
SHARAN MORA (RIT Student) [[email protected]<mailto:[email protected]>]
Sent: Saturday, January 26, 2013 9:43 PM
To: [email protected]<mailto:[email protected]>
Subject: [gem5-users] (no subject)

Hi Everyone,
How do I set gem5 to use g++44 compiler instead of g++ compiler. I cannot 
directly upgrade my gcc version 4.1.2 as I use Centos 5.
Thanks,

_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


-- 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.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to