Boost logo

Boost-Build :

From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2003-10-09 09:12:39


Mark,

thanks for the tip but I can't make it work: it doesn't even seem to reach execnt.c...

I tried to set the variable in the environment, in the command-line and in the Jamfile and neither has worked.

Any help would be much appreciated,

Pedro
----- Original Message -----
From: Mark Sheppard
To: 'jamboost_at_[hidden]'
Sent: Thursday, October 09, 2003 2:08 PM
Subject: RE: [jamboost] Command length limit

I use JAMSHELL=% which makes jam execute the command directly without ashell 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.

Yahoo! Groups Sponsor
       
       

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.

 ------=_NextPart_000_0014_01C38E77.C776CD10 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>Mark,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>thanks for the tip but&nbsp;I can't make it
work:&nbsp;it doesn't even seem to reach execnt.c...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I tried to set the variable in the environment, in
the command-line and in the Jamfile and neither has worked.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any help would be much appreciated,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Pedro</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=msheppard_at_[hidden] href="mailto:msheppard_at_[hidden]">Mark
Sheppard</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=jamboost_at_[hidden]
href="mailto:'jamboost_at_[hidden]'">'jamboost_at_[hidden]'</A></DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 09, 2003 2:08
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [jamboost] Command length
limit</DIV>
<DIV><BR></DIV>
<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.&nbsp; 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>&nbsp;</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>&nbsp;</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&nbsp;has a
relatively high number of dependencies (&gt;15):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>1)&nbsp;msvc.compile.c++ started to fail
because all the '-I &lt;path&gt;' 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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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><BR><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_000_0014_01C38E77.C776CD10--


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