On Wed, 3 Jul 2013, Andreas Hansson wrote:

Hi Nilay,

It is adding the library (with the appropriate path) by running the
following line in the SConstruct file:

py_ld_flags = readCommand(['python-config', '--ldflags'],
exception='').split()


Could you give "python-config --ldflags" a go with your appropriate PATH
and make sure it returns what it should?

All the system's I've tried this on return the right thing (also the ones
using a non-default Python installation).


On the machine I am using, "python-config --ldflags" returns "-lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic".

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

Reply via email to