|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-12-13 22:48:07
Brad Howes <howes_at_[hidden]> writes:
> On Dec 13, 2006, at 9:07 AM, Matthias Troyer wrote:
>
> OK, but you also need the host OS since
>
> % ~/concepts/bin/gcc --version
> gcc (GCC) 4.1.1 (Indiana University ConceptGCC alpha 4)
> Copyright (C) 2006 Free Software Foundation, Inc.
> Copyright (C) 2005, 2006 Trustees of Indiana University.
> This is free software; see the source for copying conditions. There Â
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR Â
> PURPOSE.
>
> does not tell you that it is MacOS X
>
> But that version does not work on Mac OS X, right?
Yes it does.
> For all Apple-supplied GCC tools, I bet you
> will always find "Apple Computer" or even just 'darwin' in it:
It's not apple-supplied.
Fortunately (?), though, we don't really do cross-compilation, so
detecting the target OS is as trivial as detecting the host OS.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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