Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-08-06 08:25:34


Markus Schöpflin wrote:

> > > Ok, I think I'm going to generate a file which contains the needed
> > > defintions for all the platforms I'm using and include that file.
> > >
> > > I added a new free feature <linkflags2> which allows me to specify
> > > things at the end of the linker command line.
> > >
> > > But now it looks like I'm hitting some really strange internal jam
> > > limit. I modified the rule above to read as follows:
> > >
> > > 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?
>
> Sorry, I forgot to say it's not windows, it's linux I'm currently working
> on. The command line gets truncated by jam and not the shell. Isn't there
> some global variable where all the features and values are stored?

Oh... this never happened before. Is the command line truncated in "bjam -n"
output? Do you have a simple example that you can post?

- Volodya

 


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