Boost logo

Boost-Build :

Subject: Re: [Boost-build] build error boost_1_39_0 Metrowerks CodeWarrior on MacOSX 10.5.7
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2009-07-21 15:26:27


Jeff Flinn wrote:
> Hi Volodya,
>
> Vladimir Prus wrote:
>> On Tuesday 21 July 2009 Jeff Flinn wrote:
>>
>>> I'm trying to build boost_1_39_0 on Mac OSX using Codewarrrior, I
>>> issue the following command in my boost_1_29_0 directory from a
>>> terminal windows with the subsequent errors. Looks to me like it's
>>> not finding the compiler? Any thoughts?
>>
>> Right. cw.jam looks for mwcc.exe by default -- which is unlikely to be\
>> present on OSX. You can try this in user-config.jam:
>>
>> using cw : : <full-path-to-compiler-binary> ;
>>
>> That said, I can't recall last time CodeWarrior was mentioned here,
>> I would not be suprised if you run in further issues.
>
> Well you were right, maybe you can give me some stock advice too. :-)
>
> Here's what I added to user-config.jam (without the line breaks below):
>
> # ------------------
> # CodeWarrior configuration.
> # ------------------
> # Configure cw (default version).
> # using cw ;
> # Configure specific gcc version, giving alternative name to use.
> using cw : 9.0 : "/Applications/Metrowerks CodeWarrior 9.0/Other
> Metrowerks Tools/Command Line Tools/mwcc" ;

again that should read:

  using cw : "/Applications/Metrowerks CodeWarrior 9.0/Other
  Metrowerks Tools/Command Line Tools/mwcc" ;

(I tried w/ and w/out the 9.0, the below errors are w/out)

> And the errors follow this command line. I assume it literaly means that
> cmd was not found? "cmd" seems like a windows thing rather than Mac, but
> I could be wrong. Any further advice is appreciated.
>
> jeffs-mac-pro:boost_1_39_0 jeff$ bjam --toolset=cw --with-system
> link=static debug release stage
>
> ...found 79 targets...
> ...updating 8 targets...
> cw.compile.c++
> bin.v2/libs/system/build/cw/debug/link-static/threading-multi/error_code.o
> /bin/sh: line 1: cmd: command not found
>
> cmd /S /C set "CWFOLDER=/Applications/Metrowerks CodeWarrior 9.0" &&
> call "/Applications/Metrowerks CodeWarrior 9.0/Other Metrowerks
> Tools/Command Line Tools\cwenv.bat" > nul "&&" mwcc -c -cwd include
> -lang c++ -g -O0 -inline off -RTTI on -w on -I- -o
> "bin.v2/libs/system/build/cw/debug/link-static/threading-multi/error_code.o"
> @"bin.v2/libs/system/build/cw/debug/link-static/threading-multi/error_code.o.rsp"
>
>
> ...failed cw.compile.c++
> bin.v2/libs/system/build/cw/debug/link-static/threading-multi/error_code.o...
>
> ...skipped
> <pbin.v2/libs/system/build/cw/debug/link-static/threading-multi>libboost_system-cw-mt-d-1_39.a
> for lack of
> <pbin.v2/libs/system/build/cw/debug/link-static/threading-multi>error_code.o...
>
> ...skipped <pstage/lib>libboost_system-cw-mt-d-1_39.a for lack of
> <pbin.v2/libs/system/build/cw/debug/link-static/threading-multi>libboost_system-cw-mt-d-1_39.a...
>
> ...skipped <pstage/lib>libboost_system-cw-mt-d.a for lack of
> <pstage/lib>libboost_system-cw-mt-d-1_39.a...
> cw.compile.c++
> bin.v2/libs/system/build/cw/release/link-static/threading-multi/error_code.o
>
> /bin/sh: line 1: cmd: command not found
>
> cmd /S /C set "CWFOLDER=/Applications/Metrowerks CodeWarrior 9.0" &&
> call "/Applications/Metrowerks CodeWarrior 9.0/Other Metrowerks
> Tools/Command Line Tools\cwenv.bat" > nul "&&" mwcc -c -cwd include
> -lang c++ -O4,p -inline all -RTTI on -w on -I- -o
> "bin.v2/libs/system/build/cw/release/link-static/threading-multi/error_code.o"
> @"bin.v2/libs/system/build/cw/release/link-static/threading-multi/error_code.o.rsp"
>
>
> ...failed cw.compile.c++
> bin.v2/libs/system/build/cw/release/link-static/threading-multi/error_code.o...
>
> ...skipped
> <pbin.v2/libs/system/build/cw/release/link-static/threading-multi>libboost_system-cw-mt-1_39.a
> for lack of
> <pbin.v2/libs/system/build/cw/release/link-static/threading-multi>error_code.o...
>
> ...skipped <pstage/lib>libboost_system-cw-mt-1_39.a for lack of
> <pbin.v2/libs/system/build/cw/release/link-static/threading-multi>libboost_system-cw-mt-1_39.a...
>
> ...skipped <pstage/lib>libboost_system-cw-mt.a for lack of
> <pstage/lib>libboost_system-cw-mt-1_39.a...
> ...failed updating 2 targets...
> ...skipped 6 targets...
> jeffs-mac-pro:boost_1_39_0 jeff$


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