Boost logo

Boost-Build :

From: Michael van der Westhuizen (r1mikey_at_[hidden])
Date: 2005-10-30 06:35:21


On 10/30/05, David Abrahams <dave_at_[hidden]> wrote:
> Michael van der Westhuizen <r1mikey_at_[hidden]> writes:
>
> > On 10/29/05, Reece Dunn <msclrhd_at_[hidden]> wrote:
> > [snip]
> >> I have attached the patch for an initial port of native bjam response
> >> file support based on Matt's code. This allows for:
> > [snip]
> >> The patch currently only supports NT (because of getTempPath()), so I
> >> would like help porting to other OSes. Linux would probably be:
> >>
> >> const char * getTempPath( void )
> >> {
> >> return "/tmp/";
> >> }
> >
> > It's normally accepted (in POSIX systems) to allow a user to override
> > the temporary directory using the TMPDIR environment variable. The
> > following code will provide that behaviour, and, from your example
> > above, should just plug in where you need the system specific code.
>
> It's not much use until we can find a POSIX compiler that supports
> response files, ne?

:-) True.

There aren't any compilers that I know of which support response
files, but the portable mechanism would certainly be useful for any
Boost.Program_options-based tools (of course, there would be limited
need, other than consistency, on systems without severe environment
limitations).

Michael

 


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