Boost logo

Boost-Build :

Subject: Re: [Boost-build] Error message: gcc.link.dll actions too long (max 102400):
From: Matthew Chambers (matt.chambers42_at_[hidden])
Date: 2011-07-08 12:56:42


On 7/6/2011 2:10 PM, Jürgen Hunold wrote:
>
> Use response files. On gcc they are known as "linker input files".
>
> The attached patch works with gcc-4.6 and maybe all 4.x.
> Developed on windows, but works on Kubuntu 11.04.
> Feedback welcome.
> If this works for other, I can try to get this into Boost.Build.

I'd vote for it. I routinely build on MSVC and GCC and I much prefer the crazy long compile commands
to be hidden away in a response file. When a source file fails to compile, I typically start editing
that file and/or its includes and instead of rerunning bjam, I simply copy/paste the failed compile
command and run it directly. This technique is much nicer on MSVC than GCC.

-Matt


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