[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnu-libiconv] can't compile libiconv/1.16 on windows using clan
From: |
Bruno Haible |
Subject: |
Re: [bug-gnu-libiconv] can't compile libiconv/1.16 on windows using clang |
Date: |
Mon, 28 Mar 2022 22:53:53 +0200 |
Andrei Malashkin wrote:
> I've got a compilation error, while trying to build libiconv on windows
> using clang. Could you please add this toolset support?
There is already a way to build libiconv on Windows using only
Free Software (namely, with Cygwin, gcc and mingw). What would be the point
of another, alternative one?
> Originally this issue was reported here
> https://github.com/conan-io/conan-center-index/issues/9959
The main problem in your build attempt is the assignment
CC=clang-cl
CC should support Unix cc compatible options. That is, either
CC=clang
or
CC="compile clang-cl"
where the 'compile' script is shipped as libiconv/build-aux/compile.
Next, as stated in the INSTALL.windows file, MSYS as build environment
is not supported.
Bruno