Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-06 08:30:35


From: "Vladimir Prus" <ghost_at_[hidden]>
> Markus Schöpflin wrote:
> > case gcc* :
> > {
> > return $(properties) <linkflags2>$(OCI_LINK_FLAGS) ;
> > }
> > and the resulting command line gets truncated somewhere along the way.
> > The variable OCI_LINK_FLAGS contains about 5000 chars and this seems
> > a little too much for bjam.
>
> I think this might be a little too much for Windows. Hmm... does bjam
tries
> to create a CMD file? Can you look at "bjam -n" output to see if it
really
> tries execute too long command line?
>
> - Volodya

1. GCC doesn't support CMD files
2. It also doesn't need shell variable expansion, or other .bat file
constructs
3. The current method for GCC sets JAMSHELL on the target to "%" so that
the link line will be passed directly to the OS, bypassing .bat file line
length limits. I don't know if there are other limits lurking deeper.

HTH,
Dave

-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com

 


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