Boost logo

Boost :

Subject: Re: [boost] clang-win, again
From: degski (degski_at_[hidden])
Date: 2018-10-30 13:44:24


On Tue, 30 Oct 2018 at 02:01, Edward Diener via Boost <boost_at_[hidden]>
wrote:

> I have merged Peter's fix for clang-win.jam, from a PR he created, to
> Boost Build's 'develop' branch. Thanks, Peter, for working on this !
> This will make it easier for others who participated on this thread to
> try his update.
>

I'm building from the dev-head. I get this:

clang-win.archive
c:\boost-build\boost\bin.v2\libs\thread\build\clng-win-8.0.0\dbg\adrs-mdl-64\lnk-sttc\thrdp-wn32\thrd-mlt\libboost_thread-clangw8-mt-d-x64-1_69.lib

        if exist
"c:\boost-build\boost\bin.v2\libs\thread\build\clng-win-8.0.0\dbg\adrs-mdl-64\lnk-sttc\thrdp-wn32\thrd-mlt\libboost_thread-clangw8-mt-d-x64-1_69.lib"
DEL
"c:\boost-build\boost\bin.v2\libs\thread\build\clng-win-8.0.0\dbg\adrs-mdl-64\lnk-sttc\thrdp-wn32\thrd-mlt\libboost_thread-clangw8-mt-d-x64-1_69.lib"
         C:\Program Files\LLVM\bin\llvm-ar.exe /nologo
/out:"c:\boost-build\boost\bin.v2\libs\thread\build\clng-win-8.0.0\dbg\adrs-mdl-64\lnk-sttc\thrdp-wn32\thrd-mlt\libboost_thread-clangw8-mt-d-x64-1_69.lib"
@"c:\boost-build\boost\bin.v2\libs\thread\build\clng-win-8.0.0\dbg\adrs-mdl-64\lnk-sttc\thrdp-wn32\thrd-mlt\libboost_thread-clangw8-mt-d-x64-1_69.lib.rsp"

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

So this C:\Program Files\LLVM\bin\llvm-ar.exe does not seem to work, and
gets cut down to 'C:\Program', i.e. it's not properly quoted. This would
confirm what Peter said, that he cannot build static libs. I do seem to get
all the .obj files (i.e. stuff compiles), but it's messy.

Just for information. On Windows, for a while [approx. 20+ years] there is
the xcopy command. It [can] copies whole file-trees [with 1 command], and
can do so selectively (f.e. only copy when the source file is newer than
the destination file), it is also possible to make xcopy shut up about what
it copies. It would be helpful to stop doing all the unnecessary copying
[in the build] and also stop all the useless output, which [the output]
makes it extremely hard to see what's actually going on.

degski

-- 
*“If something cannot go on forever, it will stop" - Herbert Stein*

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk