Brad Howes <howes ll.mit.edu> 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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|