Changeset 00ed1c9 in rtems


Ignore:
Timestamp:
06/02/05 13:47:22 (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
44b4cf4
Parents:
b2a4e861
Message:

2005-06-01 Philippe Simons <loki_666@…>

  • custom/gp32.cfg: Add make-cxx-exe.
Location:
make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    rb2a4e861 r00ed1c9  
     12005-06-01      Philippe Simons <loki_666@fastmail.fm>
     2
     3        * custom/gp32.cfg: Add make-cxx-exe.
     4
    152005-05-27      Ralf Corsepius <ralf.corsepius@rtems.org>
    26
  • make/custom/gp32.cfg

    rb2a4e861 r00ed1c9  
    1616#  and (hopefully) optimize for it.
    1717#
    18 CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=8
     18CPU_CFLAGS = -mcpu=arm920t -mstructure-size-boundary=32 -O3
    1919
    2020# optimize flag: typically -0, could use -O4 or -fast
     
    2222# NOTE2: some level of -O may be actually required by inline assembler (at least
    2323# -O2 so far.
    24 CFLAGS_OPTIMIZE_V=-O3
    25 #CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
     24CFLAGS_OPTIMIZE_V=
    2625
    2726define make-exe
    2827        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
    2928            $(LINK_OBJS) $(LINK_LIBS)
    30         $(OBJCOPY) -O binary \
    31             --only-section=.text \
    32             --only-section=.data \
    33             --only-section=.rodata \
    34             --strip-unneeded $(basename $@).exe $(basename $@).gxb
     29        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).gxb
     30        $(NM) -g -n $(basename $@).exe > $(basename $@).num
     31        $(SIZE) $(basename $@).exe
     32endef
     33
     34define make-cxx-exe
     35        $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) -o $@ \
     36            $(LINK_OBJS) $(LINK_LIBS)
     37        $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).gxb
    3538        $(NM) -g -n $(basename $@).exe > $(basename $@).num
    3639        $(SIZE) $(basename $@).exe
Note: See TracChangeset for help on using the changeset viewer.