This is the mail archive of the mailing list for the eCos project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

calmrisc16 cflags

The first per-architecture compiler flags update. All the warning
flags now come from a centralized option. -fvtable-gc and
-finit-priority have been removed.

This patch is untested, I don't have a calmrisc16 compiler handy.


2009-01-31  Bart Veer <>

	* cdl/hal_calm16_core.cdl: update compiler flags for gcc 4.x

Index: core/current/cdl/hal_calm16_core.cdl
RCS file: /cvs/ecos/ecos/packages/hal/calmrisc16/core/current/cdl/hal_calm16_core.cdl,v
retrieving revision 1.4
diff -u -p -r1.4 hal_calm16_core.cdl
--- core/current/cdl/hal_calm16_core.cdl	29 Jan 2009 17:49:11 -0000	1.4
+++ core/current/cdl/hal_calm16_core.cdl	2 Feb 2009 13:53:22 -0000
@@ -105,7 +105,7 @@ cdl_package CYGPKG_HAL_CALM16_CORE {
             display "Global compiler flags"
             flavor  data
-            default_value { "-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -fno-builtin" }
+            default_value { CYGBLD_GLOBAL_WARNFLAGS . " -g -O2 -fno-rtti -fno-exceptions -fno-builtin" }
             description   "
                 This option controls the global compiler flags which
                 are used to compile all packages by

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]