[libstdc++ patch] Add cygwin flags to tests_flags
Billinghurst, David (CRTS)
David.Billinghurst@riotinto.com
Mon Jan 1 05:18:00 GMT 2001
Cygwin needs different libraries to run the libstdc++-v3 and g++ testsuites.
With this patch I can build and test both libstdc++-v3 and g++ on cygwin
1.1.17
2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
* tests_flags.in Set target specific LIBS for cygwin
--- libstdc++-v3/tests_flags.in.1 Mon Jan 1 23:02:05 2001
+++ libstdc++-v3/tests_flags.in Mon Jan 1 23:11:09 2001
@@ -154,7 +154,11 @@
${LIB_PATH}/../libsupc++/libsupc++.la ${LIB_PATH}/libstdc++.la
-no-install"
LTEXE="${LIBTOOL} --mode=execute"
- LIBS="-nodefaultlibs -lc -lgcc -lc"
+ case @target_os@ in
+ *cygwin*) LIBS="-nodefaultlibs -lgcc -lcygwin -luser32
+ -lkernel32 -ladvapi32 -lshell32" ;;
+ *) LIBS="-nodefaultlibs -lc -lgcc -lc" ;;
+ esac
;;
--installed-library)
# For the installed version, we really only need to use libtool and
More information about the Libstdc++
mailing list