Hongil Yoon writes: > Hello guys, > I need to link all libraries statically to create a gem5 excitable file > because > the system, that I am going to utilize, looks totally different from the > machine > that is used for building gem5.
> I think updating files to use -static flag is the only way to do it; but it > looks tricky to do it manually. I am wondering whether there are other easier > ways to figure this out. I already found out the same question: > http://www.mail-archive.com/[email protected]/msg05571.html, but, no one has > relied back. Last time I tried, I could only do it by modifying the scons scripts, and even then couldn't statically compile GEM5 because my system (debian testing) only provides a non-static version of libtcmalloc. All said, just copying libtcmalloc around solved my problems (LD_LIBRARY_PATH), as my evaluation system has all the other dynamic libraries GEM5 needs already installed and with compatible versions. Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
