Hi Marko,

Take a look at ext/libelf/SConscript. It both builds a .a lib and adds it to 
the build.

Ali



On May 8, 2010, at 10:51 PM, Marko Miklo wrote:

> Hello all,
> 
> This is my first post here, so I am sorry if I am asking something that has 
> been already asked before, but I couldn't find a solution to my problem even 
> though I have tried to search for it extensively...
> 
> I am trying to incorporate certain functionality into M5 and to be able to do 
> that, I need to link with an external library (.a file) during M5 
> compilation. I know how to compile additional C file by including it in 
> SConscript, but unfortunately, I have not been able to figure out how to link 
> a ".a" file.
> 
> Any help would be greatly appreciated!
> 
> Thanks,
> Marko_______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to