This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[avr port] default options for C++ for avr
- From: Denis Chertykov <denisc at overta dot ru>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 14 Sep 2002 11:50:28 +0400
- Subject: [avr port] default options for C++ for avr
2002-09-10 Theodore A. Roth <troth@verinet.com>
* gcc/config/avr/avr.h: Set default options for C++ for avr.
Index: gcc/config/avr/avr.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/avr/avr.h,v
retrieving revision 1.66
diff -u -r1.66 avr.h
--- gcc/config/avr/avr.h 11 Aug 2002 18:48:50 -0000 1.66
+++ gcc/config/avr/avr.h 10 Sep 2002 16:13:33 -0000
@@ -2523,6 +2523,12 @@
Do not define this macro if it does not need to do anything. */
+#define CC1PLUS_SPEC "%{!frtti:-fno-rtti} \
+ %{!fenforce-eh-specs:-fno-enforce-eh-specs} \
+ %{!fexceptions:-fno-exceptions}"
+/* A C string constant that tells the GNU CC drvier program options to
+ pass to `cc1plus'. */
+
#define ASM_SPEC "%{mmcu=*:-mmcu=%*}"
/* A C string constant that tells the GNU CC driver program options to
pass to the assembler. It can also specify how to translate