comparison doc/ld-output-def.texi @ 40235:5a52ef2d4772

all: Update URLs to msdn.microsoft.com. * lib/stat-w32.c et al.: Update URLs after most of msdn.microsoft.com was moved to docs.microsoft.com.
author Bruno Haible <bruno@clisp.org>
date Thu, 14 Mar 2019 09:49:24 +0100
parents dbc5895964f0
children
comparison
equal deleted inserted replaced
40234:fab7ce42e03f 40235:5a52ef2d4772
13 sub-optimal to using @code{--output-def} during the build process. 13 sub-optimal to using @code{--output-def} during the build process.
14 The variants we have considered include: 14 The variants we have considered include:
15 15
16 @itemize @bullet 16 @itemize @bullet
17 @item Use DUMPBIN /EXPORTS. 17 @item Use DUMPBIN /EXPORTS.
18 This is explained in @url{https://support.microsoft.com/kb/131313/en-us}. 18 This is explained in
19 @url{https://docs.microsoft.com/en-us/cpp/build/reference/dash-exports}.
19 The tool does not generate DEF files directly, so its output needs to 20 The tool does not generate DEF files directly, so its output needs to
20 be post processed manually: 21 be post processed manually:
21 @smallexample 22 @smallexample
22 $ @{ echo EXPORTS; \ 23 $ @{ echo EXPORTS; \
23 dumpbin /EXPORTS libfoo-0.dll | tail -n+20 | awk '@{ print $4 @}'; \ 24 dumpbin /EXPORTS libfoo-0.dll | tail -n+20 | awk '@{ print $4 @}'; \