[libstdc++ patch] Add cygwin flags to tests_flags
Billinghurst, David (CRTS)
David.Billinghurst@riotinto.com
Mon Jan 1 14:30:00 GMT 2001
Can someone please check this in. Approved by Gabriel Dos Reis
> -----Original Message-----
> From: Billinghurst, David (CRTS)
> Sent: Tuesday, 2 January 2001 0:18
> To: 'gcc-patches@gcc.gnu.org'
> Cc: 'libstdc++@gcc.gnu.org'
> Subject: [libstdc++ patch] Add cygwin flags to tests_flags
>
> 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