You'll probably have to modify the linker flags toward the bottom of
src/SConscript.

Steve


On Wed, Nov 12, 2014 at 4:44 PM, [email protected] via gem5-users <
[email protected]> wrote:

> Thanks, you means add this in sconstruct file or just in the command line?
>
> by the way, i tried to add -static option to the CCFLAGS, but it does not
> work as i expected.
>
> ------------------------------
> nifan
>
>
> *From:* Kumail Ahmed <[email protected]>
> *Date:* 2014-11-13 00:19
> *To:* [email protected]; gem5 users mailing list <[email protected]>
> *Subject:* Re: [gem5-users] How to compile gem5 to statically linked
> program?
> Hello Nifan,
>
> trying using  -shared tag in SCON.
>
>
> Didn't try myself yet
>
> On Wed, Nov 12, 2014 at 10:14 AM, [email protected] via gem5-users <
> [email protected]> wrote:
>
>> Hi, all:
>> Does anyone know how to compile gem5 statically so it can run on other
>> machines with re-compilation?
>>
>> Thanks in advance.
>>
>> ------------------------------
>> nifan
>>
>> _______________________________________________
>> 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