|
Boost-Build : |
From: Mark Sheppard (msheppard_at_[hidden])
Date: 2003-10-09 08:08:42
I use JAMSHELL=% which makes jam execute the command directly without a
shell and has no command line length limit. Of course it does mean that you
can't use shell features like redirection and pipes, but it sounds like
you're just doing a normal compile so you wouldn't need them anyway.
Mark.
-----Original Message-----
From: Pedro Ferreira [mailto:pedro.ferreira_at_[hidden]]
Sent: 09 October 2003 14:00
To: jamboost_at_[hidden]
Subject: [jamboost] Command length limit
Dear all,
I'm using BBv2 on Windows XP and I've been having a few problems related to
the 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
To unsubscribe from this group, send an email to:
jamboost-unsubscribe_at_[hidden]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
------_=_NextPart_001_01C38E66.767540B0 Content-Type: text/html;
charset="iso-8859-1"
<!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.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=968030613-09102003><FONT face=Arial color=#0000ff size=2>I use
JAMSHELL=% which makes jam execute the command directly without a shell and has
no command line length limit. Of course it does mean that you can't use
shell features like redirection and pipes, but it sounds like you're just doing
a normal compile so you wouldn't need them anyway.</FONT></SPAN></DIV>
<DIV><SPAN class=968030613-09102003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=968030613-09102003><FONT face=Arial color=#0000ff
size=2>Mark.</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Pedro Ferreira
[mailto:pedro.ferreira_at_[hidden]]<BR><B>Sent:</B> 09 October 2003
14:00<BR><B>To:</B> jamboost_at_[hidden]<BR><B>Subject:</B> [jamboost]
Command length limit<BR><BR></FONT></DIV>
<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 been having
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 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)?</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><BR><TT>To unsubscribe from
this group, send an email
to:<BR>jamboost-unsubscribe_at_[hidden]<BR><BR></TT><BR><BR><TT>Your use
of Yahoo! Groups is subject to the <A
href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</A>.</TT>
<BR></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C38E66.767540B0--
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