Boost logo

Boost-Build :

Subject: Re: [Boost-build] Problem with boost build - max include limit?
From: Jeremy (jswigart_at_[hidden])
Date: 2009-11-09 14:35:32


Sorry for leaving off important data, this is Suse 10.1 with gcc 4.1.

Johan, it has never complained about using multiple requirements like that,
but I'll try it with just 1. Thanks for the response.

On Mon, Nov 9, 2009 at 1:35 AM, Vladimir Prus <ghost_at_[hidden]> wrote:

> On Monday 09 November 2009 Johan Nilsson wrote:
>
> > Jeremy wrote:
> >
> > [snip]
> >
> > >
> > > Is there a limit to include folders? A character or command line
> > > limit that I'm hitting and am unaware of? If so, how can I work
> > > around it? I'd like to avoid splitting this library into further
> > > libraries if there is another way.
> > >
> > > Thanks
> > >
> > >
> > > project Common
> > > : requirements <include>./
> > > : requirements <include>../dependencies/gmsrc_ex/src/gm
> > > : requirements <include>../dependencies/gmsrc_ex/src/binds
> > > : requirements
> > > <include>../dependencies/gmsrc_ex/src/3rdParty/mathlib
> > > : requirements
> > > <include>../dependencies/gmsrc_ex/src/3rdParty/gmbinder2
> > > : requirements <include>../dependencies/guichan-0.7.1/include
> > > : requirements <include>../dependencies/guichan-0.7.1/addons
> > > : requirements <include>../dependencies/Recast/Recast/Include
> > > : requirements <include>../dependencies/Recast/Detour/Include
> > > : requirements <include>../dependencies/physfs
> > > : requirements <include>../dependencies/physfs/lzma/C
> > > : requirements <include>../dependencies/physfs/zlib123
> > > : requirements <include>../dependencies/physfs/lzma/C/Archive/7z
> > > : requirements
> > > <include>../dependencies/physfs/lzma/C/Compress/Lzma
> > > : requirements
> > > <include>../dependencies/physfs/lzma/C/Compress/Branch
> > > : requirements <include>../dependencies/sqlite3
> > > ;
> > >
> >
> > Does Boost.Build really accept the above? Try removing the duplicate
> > "requirements":
> >
> > project Common
> > : requirements
> > <include>./
> > <include>../dependencies/gmsrc_ex/src/gm
> > <include>../dependencies/gmsrc_ex/src/binds
> > <include>../dependencies/gmsrc_ex/src/3rdParty/mathlib
> > <include>../dependencies/gmsrc_ex/src/3rdParty/gmbinder2
> >
> > [...]
> >
> > <include>../dependencies/sqlite3
> > ;
> >
> > If that doesn't help, try invoking bjam with the "-d+2" option to see the
> > actual commands invoked.
>
> It would also help to know what compiler is used. On MSVC, we use response
> files,
> so the size of the command line is not important. gcc on linux enjoy a
> generous
> limit on the command line length. gcc on windows might be problem -- if you
> check
> that your version does support response files, I probably can modify
> boost.build
> to take advantage of that.
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>



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