Discussion:
[Scons-users] clang and SCons usage questions
Bill Deegan
2018-02-19 17:53:40 UTC
Permalink
Greetings,

I'm working on sorting out the test failures in appveyor on windows with
clang.

It seems you need to install either msvc or mingw to be able to do anything
useful with clang on win32.

Also clang-cl will use MSVC style compiler flags, where clang will use
"normal/non-windows" compiler flags.

So:
1) Do you use clang with MSVC or MINGW?
2) Do you use MSVC compiler type flags with clang?

Thanks,
Bill
Mats Wichmann
2018-02-19 20:18:55 UTC
Permalink
Post by Bill Deegan
Greetings,
I'm working on sorting out the test failures in appveyor on windows with
clang.
It seems you need to install either msvc or mingw to be able to do anything
useful with clang on win32.
Also clang-cl will use MSVC style compiler flags, where clang will use
"normal/non-windows" compiler flags.
1) Do you use clang with MSVC or MINGW?
2) Do you use MSVC compiler type flags with clang?
not me; we've dropped in clang in place of gcc on Linux builds, and
clang is what you get on Mac, but not Windows.

have you looked here for some "additional support"?

https://llvm.org/builds/

(it seems not to be ready for VS2017, which is a bit disappointing, but
I suppose it will get there)
Bill Deegan
2018-02-19 20:25:24 UTC
Permalink
I've tried clang + VS2017 and it seems to function ok for me.
Post by Bill Deegan
Post by Bill Deegan
Greetings,
I'm working on sorting out the test failures in appveyor on windows with
clang.
It seems you need to install either msvc or mingw to be able to do
anything
Post by Bill Deegan
useful with clang on win32.
Also clang-cl will use MSVC style compiler flags, where clang will use
"normal/non-windows" compiler flags.
1) Do you use clang with MSVC or MINGW?
2) Do you use MSVC compiler type flags with clang?
not me; we've dropped in clang in place of gcc on Linux builds, and
clang is what you get on Mac, but not Windows.
have you looked here for some "additional support"?
https://llvm.org/builds/
(it seems not to be ready for VS2017, which is a bit disappointing, but
I suppose it will get there)
_______________________________________________
Scons-users mailing list
https://pairlist4.pair.net/mailman/listinfo/scons-users
Loading...