Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam for Mac OS X - LLVM-1.5
From: er (er.ci.2020_at_[hidden])
Date: 2011-03-04 23:10:41


On 2/22/11 4:29 PM, er wrote:
>
>>
>> Please try
>> sudo bjam toolset=darwin-4.4 -a
>> and let us know what happens.
>
> Thank you, the matter is indeed resolved by following the steps above.
>

To recap:

using darwin : 4.0 : g++-4.0 ;
using darwin : 4.2 : g++-4.2 ;
using darwin : 4.4 : g++-4 : <linkflags>\"-L/sw/bin\" ; # fink ;
using clang : 4.2 : "/usr/llvm-gcc-4.2/bin/llvm-g++-4.2" ;

and they all seem to do fine.

As for for LLVM-1.5 (known as clang), I believe the relevant file is
/usr/bin/clang. Tried variations on the above such as

user-config.jam:
using clang : 1.5 : clang ;

$ sudo bjam clang-1.5 -a

but it has only spat out junk:

...patience...
...patience...
...found 1812 targets...
...updating 37 targets...
clang-darwin.compile.c++
../../../../../bin.v2/libs/assign/v2/test/unit_testing/detail.test/clang-darwin-1.5/debug/detail.o
clang: warning: not using the clang compiler for C++ inputs
/tmp/cc-97ZBwS.s:43:suffix or operands invalid for `push'
/tmp/cc-97ZBwS.s:70:suffix or operands invalid for `push'
/tmp/cc-97ZBwS.s:79:suffix or operands invalid for `pop'
/tmp/cc-97ZBwS.s:102:suffix or operands invalid for `push'
/tmp/cc-97ZBwS.s:117:suffix or operands invalid for `call'
/tmp/cc-97ZBwS.s:129:suffix or operands invalid for `push'
/tmp/cc-97ZBwS.s:152:suffix or operands invalid for `call'
etc.

Any suggestion?


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