|
From: | sav_ix |
Subject: | bug#30127: Re[2]: bug#30127: ICC: 'entry point must be defined' error for shared builds on Windows |
Date: | Sun, 21 Jan 2018 16:10:39 +0200 |
> Indeed, The great news is that support for ‘icl’ has already been added > in Automake 1.15.1 [1]. :-)
cl
' and 'cl.exe
'should checked and fixed to match 'icl
' and 'icl.exe
' conditions too. But this, obviously, is out if scope of current issue.> Could you confirm it works correctly with Automake 1.15.1?
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* )
xilink
' and librarian 'xilib
' are just a wrappers to MSVC 'link
' and librarian 'lib
' respectively, and ' -nologo ' use reduces noise in stderr.compile
', mentioned above. In case he'll be interested to make a review aor join this discussion.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]
[Prev in Thread] | Current Thread | [Next in Thread] |