List Info

Thread: darwin.jam vs gcc.jam




darwin.jam vs gcc.jam
user name
2006-12-14 03:48:07
Brad Howes <howesll.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
darwin.jam vs gcc.jam
user name
2006-12-14 03:58:49
David Abrahams wrote:

> Fortunately (?), though, we don't really do
cross-compilation, so
> detecting the target OS is as trivial as detecting the
host OS.

Well, except we really should. There are existing
"host-os" and 
"target-os" features that would be used for the
purpose of 
cross-compiling, hence to remove the dependencies on using
the host OS 
as the target OS.


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software
.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )