Boost logo

Boost :

Subject: Re: [boost] Using Clang compiler in place of GCC
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2015-06-24 09:39:21


> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Peter Dimov
> Sent: 24 June 2015 13:52
> To: boost_at_[hidden]
> Subject: Re: [boost] Using Clang compiler in place of GCC
>
> Paul A. Bristow wrote:
> > And I've run Peter's suggested clang++ -v test.cpp with
> ...
> > and got the output clang_v_test.log
> >
> > Obviously I am still missing something, but I'm still puzzled at what.
>
> It now compiles, so <iostream> is fine, but tries to link using
>
> "C:\\Program
> Files\\mingw-builds\\x64-4.8.1-win32-seh-rev5\\mingw64\\bin\\g++.exe" -v -m32 -o a.exe
>
> which fails. You might try placing c:\mingw\bin in the PATH before the above one and see if it'll
link using
> the g++ from there.

I do indeed intentionally have both mingw64 and now, reluctantly, mingw as well.

So pushed c:/mingw/bin first and

Bingo!

Thanks to both for your invaluable help.

(Sighs - Why does this have to be so unnecessarily difficult???)

Paul


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