I could do it by adding following lines into SConstruct,

*    main.Append(LIBS=['<Lib name>'])*
*    main.Prepend(LIBPATH=[Dir('<Lib DIR>')])*

Thank you guys :)

Regards,
Digant Desai.



On Mon, Nov 28, 2011 at 19:19, Digant <[email protected]> wrote:

> Hi all,
>
> how I can add another library I want to use it in C++ like we have
> pthread...
> Can anyone point me to right way to do this, I tired -L /-I and
> -l<lib_name> in SConstruct but did not link it with gem5.fast. gives errors
> like "Undefined reference".
> I guess its more complicated then this ...thank you.
>
> Regards,
> Digant Desai.
>
>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to