> My change seems to work, but in the process of wedging that old a
> version of scons onto my system (no portage support, no download, had to
> get it from svn, had to manually "install" it). It looks like there are
> a few places where
>
>    main.Append(CCFLAGS='-pipe')
>
> is incorrectly interpreted as adding an array of flags "-", "p", "i",
> "p", "e", to CCFLAGS. This makes scons choke because it can't compile
> it's test programs to configure itself and gets confused trying to find
> Python.h. This is apparently not a problem with new versions of scons,
> and we inconsistently deal with the problem by sometimes putting []s
> around strings and sometimes not.
Seems like a reasonable patch to me.  If it works in the old and the
new, we should probably go for it.

> I don't know for sure if this is an issue with my "installation" method,
> aka a big hammer and a callous disregard for how it's -supposed- to
> work, but if nothing else we should be consistent with how we stick []s
> in there.
I doubt it.  What was so strange about your installation method?  I
haven't had trouble manually installing scons in the past.  (I usually
even manually set --prefix to something like $HOME/local/scons-0.98.1,
and either symlink scons or change my path.)

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

Reply via email to