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

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

Re: [bug-gnu-libiconv] The configure script is using wrong parameter -Wl


From: Fx Ne
Subject: Re: [bug-gnu-libiconv] The configure script is using wrong parameter -Wl for msvc complier
Date: Sun, 23 Jun 2024 19:29:12 +0800

Problem solved, It's the gcc not present, then Makefile generated don't have correct setting to call windres.
Neither you guys mentioned in install.windows? nor the script have condition test.
If it finds only cl.exe is exist, then it should stop and show a error that windres need gcc to work.


Fx Ne <kxmpex@gmail.com> 于2024年6月23日周日 11:56写道:
I'v already set it, I mean on the root directory of libiconv the libtool file have AR="ar"
But on the libcharset folder it don't!! It's AR="false"
Does libcharset don't need ar!??

Do you know how to ignore this section?
make[1]: Entering directory '/f/Software/Application/lib/libiconv-1.17/lib'
/bin/sh ../libtool --mode=compile --tag=RC  `/bin/sh ./../windows/windres-options --escape 1.17` -i ./../windows/libiconv.rc -o libiconv.res.lo --output-format=coff
It fails now.
 

Bruno Haible <bruno@clisp.org> 于2024年6月23日周日 00:21写道:
Fx Ne wrote:
> I commented out the false then it succeed, but does ar is necessary? I see
> there is a ar wrapper  "ar-lib"
> Should I change AR="build-aux/ar-lib" !??

As mentioned in the INSTALL.windows file, the AR variable should be set to
AR="<directory>/ar-lib lib"

And 'lib.exe' needs to be present in the PATH.

Bruno




reply via email to

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