[V3 patch] cygwin configuration (2)
Billinghurst, David (CRTS)
David.Billinghurst@riotinto.com
Sun Nov 26 18:37:00 GMT 2000
This patch, or similar, is required to build libstdc++-v3 on cygwin. This
doesn't do the right thing yet, as configure isn't defining @EXEEXT@ as
".exe" in the libstdc++-v3 directory. It is a step in the right direction
and bootstraps on irix. Please commit if OK as I can't.
See http://gcc.gnu.org/ml/gcc/2000-11/msg01046.html for comments by Benjamin
Kosnik
2000-11-27 David Billinghurst <David.Billinghurst@riotinto.com>
* mkcheck.in: Add exeext to printnow executable
Index: mkcheck.in
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/mkcheck.in,v
retrieving revision 1.41
diff -u -r1.41 mkcheck.in
--- mkcheck.in 2000/11/26 12:20:50 1.41
+++ mkcheck.in 2000/11/27 02:27:33
@@ -100,15 +100,15 @@
done
fi
-# Nasty solution to replace GNU date(1)'s %s time_t output function.
-if [ ! -x "$TEST_DIR/printnow" ]; then
- echo "making utility $TEST_DIR/printnow"
- gcc -o "$TEST_DIR/printnow" "$SRC_DIR/testsuite/printnow.c"
- strip "$TEST_DIR/printnow"
-fi
-
# Remove old executables.
rm -rf "$TEST_DIR"/*exe
+
+# Nasty solution to replace GNU date(1)'s %s time_t output function.
+if [ ! -x "$TEST_DIR/printnow@EXEEXT@" ]; then
+ echo "making utility $TEST_DIR/printnow@EXEEXT@"
+ gcc -o "$TEST_DIR/printnow@EXEEXT@" "$SRC_DIR/testsuite/printnow.c"
+ strip "$TEST_DIR/printnow@EXEEXT@"
+fi
# Remove old core files (which now get left in cwd, not $TEST_DIR).
rm -rf ./*core*
More information about the Gcc-patches
mailing list