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
> to create a CMD file? Can you look at "bjam -n" output to see if it
> 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
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.


David Abrahams * Boost Consulting
dave_at_[hidden] *


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at