bug-gnu-libiconv
[Top][All Lists]
Advanced

[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: 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

clang has much nicer sanitizers https://clang.llvm.org/docs/AddressSanitizer.html
You  can profile the code with less overhead. It's a big advantage compared to gcc.

BR
Andrei Malashkin

Am Mo., 28. März 2022 um 22:53 Uhr schrieb Bruno Haible <bruno@clisp.org>:
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





--
mit freundlichen Grüßen,
Andrei Malashkin

+43 664 9432819

reply via email to

[Prev in Thread] Current Thread [Next in Thread]