+2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ * tests_flags.in: Fix typo in usage.
+
+ * tests_flags.in: Set target specific LIBS for cygwin.
+
2000-12-31 Alexandre Oliva <aoliva@redhat.com>
* include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.
print_usage() {
cat <<EOF
Usage:
- tests_fags --compiler <build-dir> <src-dir>
+ tests_flags --compiler <build-dir> <src-dir>
--built-library <build-dir> <src-dir>
--installed-library <build-dir> <src-dir> <install-dir>
EOF
${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