在 2022/11/21 06:44, Martin Storsjö 写道:
Instead of using AC_LINK_IFELSE, construct a test file and manually run a compile/linking command.This fixes the linker test when bootstrapping a toolchain from scratch. This matches the previous configure time link test we had, which was removed in 6f53dbf6d423fab5a9fc6b3e4b07bdcf66d253b5. See baaf945d53f7dedb15b6f5342bd04e8fd4952211, 30af18252d4e965e98612e215b8cf6b7ae42c01a, ccda8b5229e428a6fa7036140778b23d11b554e8 and bda8fc0064e12d07e0f0e0c696dc0568b13c096f for earlier attempts at making configure time linker tests that work across various tools when bootstrapping the toolchain itself; this solution incorporates all the lessons learnt from the previous linker tests. Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-crt/configure.ac | 43 +++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-)
LGTM. THanks. -- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
