|
Boost-Build : |
From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2003-10-09 07:59:55
Dear all,
I'm using BBv2 on Windows XP and I've been having a few problems related tothe limit on the command-line length in one of my projects, which has a relatively high number of dependencies (>15):
1) msvc.compile.c++ started to fail because all the '-I <path>' instructions caused it to exceed the limit. I got away with it by explicitly changing the hardcoded limit defined in 'int maxline ()' (jam_src/execnt.c). Would it be a good idea to use a mechanism similar to the one used for libs (.rsp files)?
2) clean started to fail for the same reason. I solved this removing 'together' in 'common.jam', line 108. Is this the best approach?
Thanks in advance,
Pedro
------=_NextPart_000_006C_01C38E6D.9E6F2750 Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2733.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm using BBv2 on Windows XP and I've beenhaving a
few problems related to the limit on the command-line length in o</FONT><FONT
face=Arial size=2>ne of my projects, which has a relatively high number of
dependencies (>15):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1) msvc.compile.c++ started to fail because
all the '-I <path>' instructions caused it to exceed the limit. I gotaway
with it by explicitly changing the hardcoded limit defined in 'int maxline ()'
(jam_src/execnt.c). Would it be a good idea to use a mechanism similar to the
one used for libs (.rsp files)?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>2) clean started to fail for the same reason. I
solved this removing 'together' in 'common.jam', line 108. Is this the best
approach?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Pedro</FONT></DIV></BODY></HTML>
------=_NextPart_000_006C_01C38E6D.9E6F2750--
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk