Hi All,
I get the following error when building my source tree with bjam v2 m11
/ vc7.1:
testing.capture-output
actions too long (max 2047):
It happens on the last unittest of the whole build, which is a 'run'
directive. And i dont really understand why ...
I read the following articles:
http://comments.gmane.org/gmane.comp.lib.boost.build/8453
http://lists.boost.org/MailArchives/boost/msg20819.php
http://article.gmane.org/gmane.comp.lib.boost.build/1681
So I edited my 'testing.jam' like so:
actions capture-output bind INPUT_FILES output-file
{
JAMSHELL on $(<) = % ;
...
But this changed nothing. I also tried msvc.jam but nothing also (seems
logical, msvc.jam is not concerned with the run rule from testing).
I then edited execnt.c in my jam_src directory (from 2047 to 8192):
/* Set the maximum
command line length according to the OS */
return is_nt_351 ? 996
: is_win95 ? 1023
: 8192;
This because XP can handle '8192' characters, according to MSDN.
Nothing good happened either. I dont think it's my shell (4nt) 'cos
cmd.exe gives the same error and this, well, supports 8192.
So can somebody point out what I did wrong? I'd really like some advise.
Regards, Dirk