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.

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?
Michael Moeng
University of Pittsburgh
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to