|
Boost-Build : |
From: Matthias Troyer (troyer_at_[hidden])
Date: 2006-12-13 09:07:24
On 13 Dec 2006, at 21:32, David Abrahams wrote:
> Matthias Troyer <troyer_at_[hidden]> writes:
>
>> I have done more tests and a standard gcc or ConceptGCC also does not
>> work with the darwin toolset with errors such as:
>>
>> g++: unrecognized option '-no-cpp-precomp'
>> cc1plus: error: unrecognized command line option "-Wno-long-double"
>>
>> We thus have two types of gcc compilers with different options:
>>
>> * Apple's gcc supported by the darwin toolset
>> * A generic gcc, which should be but is not yet supported by the gcc
>> toolset
>>
>> It thus seems to me that we need both the darwin toolset and a gcc
>> toolset supporting a generic gcc on MacOS X
>
> Not if you can tell which toolset you've got by invoking
>
> gcc --version
>
> The build system already does that for MinGW (and others) and adjusts
> how it works accordingly.
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
Matthias
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