# # Config file for the M32C GDB Simulator # include $(RTEMS_ROOT)/make/custom/default.cfg RTEMS_CPU=m32c CPU_CFLAGS = -mcpu=m32cm # Unreported GCC Bug results in ICE in cpu.c. Use -O0 # CFLAGS_OPTIMIZE_V = -Os -g CFLAGS_OPTIMIZE_V = -O0 -g CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections LDFLAGS = -Wl,--gc-sections