* lib/target.exp: Remove compiler warnings about -fpic or -fPIC on
cygwin.
+2001-04-03 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ * baseboards/unix.exp: Don't link with -lm on cygwin.
+ * lib/target.exp: Remove compiler warnings about -fpic or -fPIC on
+ cygwin.
+
2001-02-21 Rob Savoye <rob@slipknot.welcomehome.org>
* debian/changelog: Add entry for new release.
set_board_info compiler "[find_gcc]";
set_board_info bmk,use_alarm 1;
+
+# Do not use -lm on Cygwin
+if { [istarget "*-*-cygwin*"] } {
+ set_board_info mathlib "";
+}
# Libgloss libnosys defines functions that warn when linked in
regsub -all "(^|\n)\[^\n\]*: In function\[^\n\]*\n\[^\n\]\[^\n\]*is not implemented and will always fail\[^\n\]*" $text "" text
+ # Cygwin cc1 warns about -fpic and -fPIC
+ regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text ""
+text
+
# It might be tempting to get carried away and delete blank lines, etc.
# Just delete *exactly* what we're ask to, and that's it.
return $text