Boost logo

Boost :

Subject: Re: [boost] How to build boost on windows with Clang/LLVM
From: degski (degski_at_[hidden])
Date: 2017-10-15 12:12:44


On 15 October 2017 at 12:32, degski <degski_at_[hidden]> wrote:

> ... so I am gonna give that a try and get back how it went.
>

 Ok, tried that, (I think as before), this is the first clue something is
wong (with quotes, obviously):

C:\boost_1_65_1>bjam -d0 --clean
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.

So obviously a f'in 'quotes'-problem.

This then later causes the same problem with <ranlib>"C:/Program
Files/LLVM/bin/llvm-ranlib.exe" <archiver>"C:/Program
Files/LLVM/bin/llvm-ar.exe". I see in boost-build (the folder I'm building
in) that source files get compiled to *.obj (they exist), but they do not
get assembled into a lib, because the tool-chain's exe's can't be found,
due to missing quotes (that are there), wtf?

========config-project.jam=======================

import option ;

using clang : 6.0 :
  "C:/Program Files/LLVM/bin/clang++.exe" :
  <compileflags>-fmsc-version=1911
  <compileflags>-DBOOST_USE_WINAPI_VERSION=0x1000
  <compileflags>-DBOOST_USE_WINDOWS_H=1
  <compileflags>-D_WIN32_WINNT=0x1000
  <compileflags>-DNOMINMAX
  <ranlib>"C:/Program Files/LLVM/bin/llvm-ranlib.exe"
  <archiver>"C:/Program Files/LLVM/bin/llvm-ar.exe"
  <linkflags>-fuse-ld=lld
  <linkflags>-flto=thin
  ;

option.set keep-going : false ;

===========================================

It's an ansi codepage 850 txt file, just in case (I checked).

The quotes *are* there [in the file] of course, so I don't get it...

degski


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