source: rtems/c/src/lib/libbsp/arm/csb336/make/custom/csb336.cfg @ dac70ed

5
Last change on this file since dac70ed was c7d29ab, checked in by Aun-Ali Zaidi <admin@…>, on 01/08/16 at 04:16:03

arm/csb336: Add per-section compilation and linking support

The size of the sample executables without this option were:

text data bss dec hex filename

107316 1948 31315236 31424500 1df7ff4 minimum.exe
124196 2076 31298244 31424516 1df8004 base_sp.exe
144584 2164 31277760 31424508 1df7ffc nsecs.exe
193600 2560 31228356 31424516 1df8004 capture.exe
222500 2104 31199904 31424508 1df7ffc cdtest.exe
189728 2460 31232324 31424512 1df8000 paranoia.exe
114336 2028 31308132 31424496 1df7ff0 hello.exe
565800 5988 30852708 31424496 1df7ff0 fileio.exe
127620 2076 31294820 31424516 1df8004 ticker.exe
274060 6864 31143584 31424508 1df7ffc loopback.exe
612008 2296 30810208 31424512 1df8000 cxx_iostream.exe
452432 12972 30959104 31424508 1df7ffc pppd.exe
127020 2084 31295396 31424500 1df7ff4 unlimited.exe

The size of the sample executables with this option enabled were:

text data bss dec hex filename

32008 1436 31391076 31424520 1df8008 minimum.exe

119172 1924 31303396 31424492 1df7fec base_sp.exe
139648 2012 31282848 31424508 1df7ffc nsecs.exe
185688 2400 31236420 31424508 1df7ffc capture.exe
214612 1952 31207936 31424500 1df7ff4 cdtest.exe
184040 2308 31238148 31424496 1df7ff0 paranoia.exe
108352 1868 31314276 31424496 1df7ff0 hello.exe
549616 5836 30869060 31424512 1df8000 fileio.exe
122580 1924 31300004 31424508 1df7ffc ticker.exe
254020 6616 31163872 31424508 1df7ffc loopback.exe
435508 2136 30986852 31424496 1df7ff0 cxx_iostream.exe
419288 12688 30992516 31424492 1df7fec pppd.exe
121396 1924 31301188 31424508 1df7ffc unlimited.exe

  • Property mode set to 100644
File size: 508 bytes
Line 
1#
2#  Config file for Cogent CSB337 - AT91RM9200 SBC
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=arm
8RTEMS_CPU_MODEL=mc9328mxl
9
10#  This contains the compiler options necessary to select the CPU model
11#  and (hopefully) optimize for it.
12CPU_CFLAGS = -mcpu=arm920
13
14# optimize flag: typically -O2
15CFLAGS_OPTIMIZE_V = -O2 -g
16
17# Add CFLAGS and LDFLAGS for compiling and linking with per item sections
18CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
19LDFLAGS            = -Wl,--gc-sections
Note: See TracBrowser for help on using the repository browser.