|
From: | Andrei Malashkin |
Subject: | Re: [bug-gnu-libiconv] can't compile libiconv/1.16 on windows using clang |
Date: | Tue, 29 Mar 2022 15:50:55 +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
[Prev in Thread] | Current Thread | [Next in Thread] |