Re: [Scons-dev] link.py

2014-04-23 Thread Bill Deegan
Russel, (IMHO) If the command lines are incompatible with the more or less standard link arguments, then there should be a new Tool created to handle those differences. -Bill On Wed, Apr 23, 2014 at 10:17 AM, Dirk Bächle wrote: > On 23.04.2014 18:33, Russel Winder wrote: > >> Dirk, >> >> lin

Re: [Scons-dev] link.py

2014-04-23 Thread Dirk Bächle
On 23.04.2014 18:33, Russel Winder wrote: Dirk, link.py sets variables for all gnu-compatible linkers. If you have a What should GNU-incompatible linkers do if link is an inappropriate tool? I'd like to answer this question, but it's just too cryptic for me. Sorry, but I don't get you...i

Re: [Scons-dev] link.py

2014-04-23 Thread Russel Winder
Dirk, > link.py sets variables for all gnu-compatible linkers. If you have a What should GNU-incompatible linkers do if link is an inappropriate tool? -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip

Re: [Scons-dev] link.py

2014-04-23 Thread Dirk Bächle
Hi Russel, On 23.04.2014 14:39, Russel Winder wrote: If I am interpreting things correctly, link.py assumes that all C, C++, and Fortran linkers always use "-o $TARGET". Is this true? link.py sets variables for all gnu-compatible linkers. If you have a look at sunlink.py or aixlink.py, you can

Re: [Scons-dev] link.py

2014-04-23 Thread Managan, Rob
That is my interpretation as well. That said I think it means that if someone or some routine changes env['LINK'] they should make sure that env['LINKCOM'] works with the linker they specified. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Rob Managan email managan at ll

Re: [Scons-dev] Subprocess issue on Linux?

2014-04-23 Thread Kenny, Jason L
> Is there any downside to using it? (Does it work on py3?) I have not tried myself, as SCons does not run under py3 yet. Sure I might have Part issues with running under py3 as well. However I don't think there are any known issues with running the patch under py3 as of yet. As far as issues

[Scons-dev] link.py

2014-04-23 Thread Russel Winder
If I am interpreting things correctly, link.py assumes that all C, C++, and Fortran linkers always use "-o $TARGET". Is this true? -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net

Re: [Scons-dev] Subprocess issue on Linux?

2014-04-23 Thread Leskinen, Eugene
Gary, Please find the stubprocess.py in the attachment. To make it work you will need to import it. Just put it next to SCons/Platform/posix.py and modify the latter by adding ‘import strubprocess’ just after ‘import subprocess’. -- Regards, Eugene From: scons-dev-boun...@scons.org [mailto:sco

Re: [Scons-dev] Subprocess issue on Linux?

2014-04-23 Thread Gary Oberbrunner
I can try it on OSX, and review the stubprocess.py source (which I haven't yet). I don't think we need to worry about Windows; it has its own process creation methods with their own characteristics and bugs. On Wed, Apr 23, 2014 at 3:07 AM, Dirk Bächle wrote: > On 23.04.2014 01:42, Bill Deegan

Re: [Scons-dev] Subprocess issue on Linux?

2014-04-23 Thread Dirk Bächle
On 23.04.2014 01:42, Bill Deegan wrote: Dirk, So if I understand correctly, the stubprocess patch passes all the regression tests and is signficantly faster than the current implementation? That's correct, but I'm not sure whether things like the redirection of stdout/stderr works in all ca