source: rtems/c/src/lib/libbsp/m32c/m32cbsp/make/custom/m32csim.cfg @ 7d80eea

5
Last change on this file since 7d80eea was 7d80eea, checked in by Joel Sherrill <joel@…>, on Mar 10, 2016 at 10:12:27 PM

m32csim.cfg: GCC PR37665 is fixed but there is still a compiler error. Use -O0.

  • Property mode set to 100644
File size: 353 bytes
Line 
1#
2#  Config file for the M32C GDB Simulator
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=m32c
8RTEMS_CPU_MODEL=m32c
9
10CPU_CFLAGS = -mcpu=m32cm
11
12# Unreported GCC Bug results in ICE in cpu.c. Use -O0
13# CFLAGS_OPTIMIZE_V = -Os -g
14CFLAGS_OPTIMIZE_V = -O0 -g
15CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
16
17LDFLAGS = -Wl,--gc-sections
Note: See TracBrowser for help on using the repository browser.