2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
* include/backward/backward_warning.h: Temporarily disable until
g++ testsuite changes go in.
* tests_flags.in (CROSS_LIB_PATH): Add.
From-SVN: r41149
+2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/backward/backward_warning.h: Temporarily disable until
+ g++ testsuite changes go in.
+ * tests_flags.in (CROSS_LIB_PATH): Add.
+
2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
Warn when using backward headers.
#ifndef _CPP_BACKWARD_BACKWARD_WARNING_H
#define _CPP_BACKWARD_BACKWARD_WARNING_H 1
-#ifdef __DEPRECATED
+//#ifdef __DEPRECATED
+#if 0
# warning "This file includes at least one deprecated or antiquated header."
# warning "Please use the <X> file instead of <X.h> file for "C++" includes"
# warning "and use the <cX> file instead of <X.h> file for "C" includes."
--built-library)
LIB_PATH=${BUILD_DIR}/src
GCC_LIB_PATH=${BUILD_DIR}/../../gcc
+ CROSS_LIB_PATH=${BUILD_DIR}/../newlib
CXX="${BUILD_DIR}/../../gcc/g++ -B${BUILD_DIR}/../../gcc/"
;;
--installed-library)
LIB_PATH=${PREFIX_DIR}/lib
GCC_LIB_PATH=
+ CROSS_LIB_PATH=
CXX=${PREFIX_DIR}/bin/g++
;;
esac
case ${query} in
--built-library)
LIBS="${LIB_PATH}/libstdc++.la -no-install -rpath ${GCC_LIB_PATH}"
+ if test x@xcompiling@ = x1; then
+ LIBS="${LIBS} -L${CROSS_LIB_PATH}"
+ fi
case @target_os@ in
*cygwin*)
LIBS="${LIBS} -nodefaultlibs -lgcc -lcygwin -luser32