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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] libiconv fails to build for Windows (Visual Studi


From: Konstantin Ivlev
Subject: Re: [bug-gnu-libiconv] libiconv fails to build for Windows (Visual Studio, via cygwin)
Date: Tue, 31 Oct 2017 22:12:11 +0700

Hi,

you're right, my cygwin installation was missing winres. after installing winres (binutils package), 1st problem was solved. may be adding note to README.windows about winres is worth.
just in case, I am using "--host=x86_64-w64-mingw32", as recommended per README.windows.
second error is more obscure and still happens. it happens only for "--enable-shared --disable-static" configuration.
could you possibly clarify, which auto-configured variables shall I inspect?

2017-10-31 21:27 GMT+07:00 Bruno Haible <address@hidden>:
Hi,

Konstantin Ivlev wrote:
> I am trying to build libiconv for Windows via Visual Studio, I am using
> official instructions from README.windows, and it fails to build with the
> following error:
>
> libtool:   error: unrecognised option: '-DPACKAGE_VERSION_STRING=\"1.15\"'

This is trouble with the 'RC' variable / 'windres' program. Try to see under
which name you have the windres program. If it is named
'i686-pc-mingw32-windres', for example, you need to use the option
--host=i686-pc-mingw32, so that the configuration script finds it.

> but after that, it still fails with the following error:
>
> ../libtool: line 1745: test: too many arguments
> /usr/bin/install: target '../bin/charset-1.dll' is not a directory

You probably need to review the values of the autoconfigured variables in the
various Makefiles.

Bruno



reply via email to

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