From b67245d03b4042e4e93ff50703fa5fec499d4bbe Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 10 Sep 1998 12:31:27 +0000 Subject: Patch from Chris Johns : I have managed to build the bsp ods68302 and the rtti test case I made with egcs-1.1b and binutils-2.9.1. I have built our C++ application and got no link errors so it looks like this is now working. I am yet to test the code but getting the thing to link was the problem. Please find a patch attached which removes the -fno-rtti option. --- make/compilers/gcc-target-default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/compilers/gcc-target-default.cfg') diff --git a/make/compilers/gcc-target-default.cfg b/make/compilers/gcc-target-default.cfg index 61449f3f16..c1b27435dc 100644 --- a/make/compilers/gcc-target-default.cfg +++ b/make/compilers/gcc-target-default.cfg @@ -180,7 +180,7 @@ MKLIB=$(RANLIB) # COMPILE.c=$(CC) $(CFLAGS) $(XCFLAGS) -c -COMPILE.cc=$(CXX) $(CFLAGS) $(CXXFLAGS) -fno-rtti $(XCFLAGS) -c +COMPILE.cc=$(CXX) $(CFLAGS) $(CXXFLAGS) $(XCFLAGS) -c ${ARCH}/%.o: %.c ${COMPILE.c} -o $@ $< -- cgit v1.2.3