sav...@ukr.net writes: > In case you're interested, there is a patch to 'lib/ar-lib', which I use for > libiconv builds using Windows ICC: > =============================================================== > diff --git a/build-aux/ar-lib b/build-aux/ar-lib > index 463b9ec..3cfddbc 100644 > --- a/build-aux/ar-lib > +++ b/build-aux/ar-lib > @@ -127,8 +127,10 @@ do > fi > case $1 in > -lib | -LIB \ > + | -xilib | -XILIB \ > | -ltcg | -LTCG \ > | -machine* | -MACHINE* \ > + | -nologo | -NOLOGO \ > | -subsystem* | -SUBSYSTEM* \ > | -verbose | -VERBOSE \ > | -wx* | -WX* ) > =============================================================== > since ICC linker 'xilink' and librarian 'xilib' are just a wrappers to MSVC > 'link' and librarian 'lib' respectively, and ' -nologo ' use reduces noise in > stderr. > > CC: Jonathan L Peyton, > as Author of patch for 'compile', mentioned above. In case he'll be > interested to make a review aor join this discussion. > > Odd, that current 'ar-lib' implementation covers only a part of MSVC 'lib' > flags: > =============================================================== > c:\>lib /? > Microsoft (R) Library Manager Version 14.12.25830.2 > Copyright (C) Microsoft Corporation. All rights reserved. > > usage: LIB [options] [files] > > options: > > /DEF[:filename] > /ERRORREPORT:{NONE|PROMPT|QUEUE|SEND} > /EXPORT:symbol > /EXTRACT:membername > /INCLUDE:symbol > /LIBPATH:dir > /LIST[:filename] > /LTCG > /MACHINE:{ARM|ARM64|EBC|X64|X86} > /NAME:filename > /NODEFAULTLIB[:library] > /NOLOGO > /OUT:filename > /REMOVE:membername > /SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION| > EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER| > NATIVE|POSIX|WINDOWS|WINDOWSCE}[,#[.##]] > /VERBOSE > /WX[:NO] > =============================================================== > > Wondering, what was a reason for this.
I am definitely not competent for reviewing Windows related stuff. So that would be great if Jonathan or anyone with more experience with ‘ar-lib’ could help reviewing this patch. Thanks for your patch. -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37