> I am trying to build M5 using boost libraries. Unfortunately, the machine I > am stuck using already has boost built using an older version of gcc (3.4), > I installed an updated version of boost in a custom location and added it to > library and include paths. I cannot use the older version of boost because I > need gcc 4.4 (also in a custom location) to build M5 for full system. I happily build M5 on 3.4.6. What is your error message.
> The problem is as follows, in the final build step, scons adds some flags. > One of these is to add /usr/lib64. This causes gcc to use the older boost > libraries, which causes errors. > > Here's the part that (I think) causes the problem: >> >> gcc [lots of stuff] -L/usr/lib64/mysql -L/usr/lib64 -lpthread -ldl -lutil >> -lpython2.6 -lelf -lgzstream -lmysqlclient -lz -lcrypt -lnsl -lm -lssl >> -lcrypto > > I can't figure out where in SConstruct these final flags are added, or how > to move them around. > > Can anyone help? Search for the line that contains "conf = Configure" and scan down after that until "conf.finish()" That's where all (or at least most) of the library and header magic happens. Nate _______________________________________________ m5-users mailing list m5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/m5-users