mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-10-27 20:44:11 +08:00
Patch from Chris Johns <ccj@acm.org>:
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.
This commit is contained in:
1 parent
b7e3949f67
commit
b67245d03b
2 files changed
+2
-2
No files matched your search
@@ -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 $@ $<
|
||||
|
||||
@@ -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 $@ $<
|
||||
|
||||
Reference in new issue
Block a user