[tlbuild] Static linking of C++ library no longer working in cygwin build
Ken Brown
kbrow1i at gmail.com
Mon Aug 10 13:55:24 CEST 2009
Hi Peter,
I've just discovered that static linking of the C++ runtime library
stopped working in my cygwin build. I found the following in
Work/libs/teckit/config.log:
configure:5017: checking for statically linking C++ runtime library
configure:5059: g++-4 -o conftest.exe -Wno-write-strings -Wno-attributes
-Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
conftest.cpp -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm
-lgcc_eh -lgcc -lc -lgcc_eh -lgcc >&5
[...]
configure:5102: result: not supported
So the special cygwin test that you put into kpse-cxx-hack.m4 isn't
being used. Could the problem be that $host is not defined during the
teckit configuration?
I've been building with the -C option, so the "not supported" result is
cached and the test is never done again.
Regards,
Ken
More information about the tlbuild
mailing list