+ * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
+ there and we are using the gcc from the tree.
+
+ * gdb.base/types.c: Removed.
+
* gdb.base/configure.in: Look for makefile fragments in ../config.
Recognize i386-*-netware.
* gdb.c++/configure.in: Likewise.
CC_FOR_TARGET = ` \
if [ -f $${rootme}/../../gcc/xgcc ] ; then \
- echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ if [ -f $${rootme}/../../newlib/Makefile ]; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/ -idirafter $${rootme}/../../newlib/targ-include -idirafter $${rootsrc}/../../newlib/libc/include -nostdinc; \
+ else \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ fi; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CC); \
CXX = gcc
CXX_FOR_TARGET = ` \
if [ -f $${rootme}/../../gcc/xgcc ] ; then \
- echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ if [ -f $${rootme}/../../newlib/Makefile ]; then
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/ -idirafter $${rootme}/../../newlib/targ-include -idirafter $${rootsrc}/../../newlib/libc/include -nostdinc; \
+ else \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}/../../gcc/; \
+ fi; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CXX); \