D
Daniel Pfeiffer
Hi,
I am a developer of makepp.sourceforge.net, a way enhanced (GNU) make
replacement. I have been busy these last weeks extending the Cygwin port
first to MinGW (the easy part) and then to ActiveState Perl, with just the
native Windows 2000 (no Unixy stuff around).
We have an extensive test suite. Most of what fails is related to test Shell
scripts, which are beyond the capabilities of the system call. These will
have to be ported to Perl (in which both makepp and the test harness are written).
But the test variable_expansion gives an error -1 when running a simple echo
command. And additional_tests/2003_10_11_idash is also baffling, with more
detailed analysis:
A rule excutes this command (with CC set to the first two words) on one line.
This single string gets passed to the system function:
echo nocc -g -I subdir1 -I- -Isubdir2 -c compilation_test.c -o compilation_test.o
This gives a warning (I installed a $SIG{__WARN__} locally around system):
Can't spawn "cmd.exe": No such file or directory at C:/TEMP/cvs/Rule.pm line 1128.
And system gives a return of 255 << 8. What could be causing this, and how
could it be evited?
NB: Passing the identical string to perl -e "system '...'" works just fine.
If this is not a known issue with ActiveState Perl (I tried both 5.6.1 and
5.8.6), I would be extremely glad for help by a Windows expert! This would
require picking up the latest makepp version from CVS.
thank you very much in advance!
coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer
I am a developer of makepp.sourceforge.net, a way enhanced (GNU) make
replacement. I have been busy these last weeks extending the Cygwin port
first to MinGW (the easy part) and then to ActiveState Perl, with just the
native Windows 2000 (no Unixy stuff around).
We have an extensive test suite. Most of what fails is related to test Shell
scripts, which are beyond the capabilities of the system call. These will
have to be ported to Perl (in which both makepp and the test harness are written).
But the test variable_expansion gives an error -1 when running a simple echo
command. And additional_tests/2003_10_11_idash is also baffling, with more
detailed analysis:
A rule excutes this command (with CC set to the first two words) on one line.
This single string gets passed to the system function:
echo nocc -g -I subdir1 -I- -Isubdir2 -c compilation_test.c -o compilation_test.o
This gives a warning (I installed a $SIG{__WARN__} locally around system):
Can't spawn "cmd.exe": No such file or directory at C:/TEMP/cvs/Rule.pm line 1128.
And system gives a return of 255 << 8. What could be causing this, and how
could it be evited?
NB: Passing the identical string to perl -e "system '...'" works just fine.
If this is not a known issue with ActiveState Perl (I tried both 5.6.1 and
5.8.6), I would be extremely glad for help by a Windows expert! This would
require picking up the latest makepp version from CVS.
thank you very much in advance!
coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer