This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
libio change from Uli
- To: gcc-patches at gcc dot gnu dot org
- Subject: libio change from Uli
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 27 Sep 1999 11:29:51 -0600
- Reply-To: law at cygnus dot com
This should have been submitted to gcc back in May when Uli wrote the
patch. Somehow it was forgotten.
1999-05-14 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Recognize target *vxworks* and add fragment vxworks.mt.
* config/vxworks.mt: New file.
* gen-params: Let configure override HAVE_PRINTF_FP.
Index: configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libio/configure.in,v
retrieving revision 1.24
diff -c -3 -p -r1.24 configure.in
*** configure.in 1999/09/08 08:40:16 1.24
--- configure.in 1999/09/27 17:37:13
*************** case "${target}" in
*** 62,67 ****
--- 62,68 ----
*-isc*) frags=isc.mt ;;
*-netware*) frags=netware.mt ;;
*-dgux*) frags=dgux.mt ;;
+ *vxworks*) frags="vxworks.mt" ;;
*) frags=${target_cpu}.mt ;;
esac
Index: gen-params
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libio/gen-params,v
retrieving revision 1.9
diff -c -3 -p -r1.9 gen-params
*** gen-params 1999/03/23 23:58:21 1.9
--- gen-params 1999/09/27 17:37:14
*************** if test -n "${USE_INT32_FLAGS}" ; then
*** 708,727 ****
echo "#define ${macro_prefix}USE_INT32_FLAGS 1"
fi
! # A little test program to check if __printf_fp is available.
! cat >dummy.c <<EOF
int main()
{
return __printf_fp ();
}
EOF
! if ${CC} dummy.c >/dev/null 2>&1 ; then
! echo "#define ${macro_prefix}HAVE_PRINTF_FP 1"
! echo "#define ${macro_prefix}HAVE_LONG_DOUBLE_IO 1"
! else
! echo "#define ${macro_prefix}HAVE_PRINTF_FP 0"
! echo "#define ${macro_prefix}HAVE_LONG_DOUBLE_IO 0"
fi
# Uncomment the following line if you don't have working templates.
--- 708,732 ----
echo "#define ${macro_prefix}USE_INT32_FLAGS 1"
fi
! if test -n "$HAVE_PRINTF_FP"; then
! echo "#define ${macro_prefix}HAVE_PRINTF_FP $HAVE_PRINTF_FP"
! echo "#define ${macro_prefix}HAVE_LONG_DOUBLE_IO $HAVE_LONG_DOUBLE_IO"
! else
! # A little test program to check if __printf_fp is available.
! cat >dummy.c <<EOF
int main()
{
return __printf_fp ();
}
EOF
! if ${CC} dummy.c >/dev/null 2>&1 ; then
! echo "#define ${macro_prefix}HAVE_PRINTF_FP 1"
! echo "#define ${macro_prefix}HAVE_LONG_DOUBLE_IO 1"
! else
! echo "#define ${macro_prefix}HAVE_PRINTF_FP 0"
! echo "#define ${macro_prefix}HAVE_LONG_DOUBLE_IO 0"
! fi
fi
# Uncomment the following line if you don't have working templates.
*** /dev/null Fri Sep 24 14:45:09 1999
--- config/vxworks.mt Tue Sep 21 13:07:21 1999
***************
*** 0 ****
--- 1 ----
+ G_CONFIG_ARGS = HAVE_PRINTF_FP=0 HAVE_LONG_DOUBLE_IO=0