Commit 6fd7b97d by Peter Schmid Committed by Benjamin Kosnik

tests_flags.in: Change the order of libstdc++ and libc

k

2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * libstdc++-v3/tests_flags.in: Change the order of libstdc++
          and libc

From-SVN: r40876
parent 4bc5fbd4
2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* libstdc++-v3/tests_flags.in: Change the order of libstdc++
and libc
2001-03-26 Benjamin Kosnik <bkoz@redhat.com> 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_file.h (get_fileno): Remove. * include/bits/basic_file.h (get_fileno): Remove.
......
...@@ -104,9 +104,9 @@ case ${query} in ...@@ -104,9 +104,9 @@ case ${query} in
INCLUDES="-I${SRC_DIR}/testsuite" INCLUDES="-I${SRC_DIR}/testsuite"
;; ;;
*) *)
INCLUDES="-nostdinc++ @CSHADOW_FLAGS@ -I${BUILD_DIR}/include INCLUDES="-nostdinc++ -I${BUILD_DIR}/include -I${SRC_DIR}/include
-I${SRC_DIR}/include/std -I${SRC_DIR}/include/$C_DIR -I${SRC_DIR}/include/std -I${SRC_DIR}/include/$C_DIR
-I${SRC_DIR}/include -I${SRC_DIR}/libsupc++ -I${SRC_DIR}/libio -I${SRC_DIR}/libsupc++ -I${SRC_DIR}/libio
-I${SRC_DIR}/testsuite" -I${SRC_DIR}/testsuite"
;; ;;
esac esac
...@@ -133,28 +133,31 @@ case ${query} in ...@@ -133,28 +133,31 @@ case ${query} in
;; ;;
--installed-library) --installed-library)
LIB_PATH=${PREFIX_DIR}/lib LIB_PATH=${PREFIX_DIR}/lib
GCC_LIB_PATH=
CXX=${PREFIX_DIR}/bin/g++ CXX=${PREFIX_DIR}/bin/g++
;; ;;
esac esac
# gcc compiler flags (maybe use glibcpp_cxxflags from configure.target, # gcc compiler flags (maybe use glibcpp_cxxflags from configure.target,
# but thst's really meant for building the library itself, not using it) # but that's really meant for building the library itself, not using it)
CXXFLAGS="-ggdb3 -DDEBUG_ASSERT @SECTION_FLAGS@ @SECTION_LDFLAGS@" CXXFLAGS="-ggdb3 -DDEBUG_ASSERT @SECTION_FLAGS@ @SECTION_LDFLAGS@"
# LIBS == any extra needed -l switches, etc (may need more libs, lose lose) # LIBS == any extra needed -l switches, etc (may need more libs, lose lose)
case ${query} in case ${query} in
--built-library) --built-library)
LIBS="${LIB_PATH}/libstdc++.la ${LIB_PATH}/../libsupc++/libsupc++.la LIBS="${LIB_PATH}/libstdc++.la -no-install -rpath ${GCC_LIB_PATH}"
-no-install -rpath ${GCC_LIB_PATH}"
case @target_os@ in case @target_os@ in
*cygwin*) LIBS="${LIBS} -nodefaultlibs -lgcc -lcygwin -luser32 *cygwin*)
-lkernel32 -ladvapi32 -lshell32" ;; LIBS="${LIBS} -nodefaultlibs -lgcc -lcygwin -luser32
*) LIBS="${LIBS} -nodefaultlibs -lc -lgcc -lc" ;; -lkernel32 -ladvapi32 -lshell32"
;;
*)
LIBS="${LIBS} -nodefaultlibs -lgcc -lc -lgcc"
;;
esac esac
;; ;;
--installed-library) --installed-library)
LIBS="-L${LIB_PATH} ${LIB_PATH}/libstdc++.la LIBS="${LIB_PATH}/libstdc++.la -no-install -rpath ${GCC_LIB_PATH}"
-no-install -rpath ${LIB_PATH}"
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment