Changeset 66a9381d in rtems for make


Ignore:
Timestamp:
Mar 12, 2008, 3:24:46 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
9d773936
Parents:
d0014c75
Message:

2008-03-12 Joel Sherrill <joel.sherrill@…>

  • leaf.cfg, custom/pc386.cfg, custom/pc386dx.cfg: It appears that the default processor model optimization has changed in gcc 4.3.0.
Location:
make
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    rd0014c75 r66a9381d  
     12008-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * leaf.cfg, custom/pc386.cfg, custom/pc386dx.cfg: It appears that the
     4        default processor model optimization has changed in gcc 4.3.0.
     5
    162008-03-11      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • make/custom/pc386.cfg

    rd0014c75 r66a9381d  
    1919#
    2020# NOTE: CPU_CFLAGS is set by pc386 variants.
    21 # CPU_CFLAGS =
     21ifeq ($(CPU_CFLAGS),)
     22  CPU_CFLAGS = -mtune=i386
     23endif
    2224
    2325# optimize flag: typically -O2
  • make/custom/pc386dx.cfg

    rd0014c75 r66a9381d  
    99#  This contains the compiler options necessary to select the CPU model
    1010#  and (hopefully) optimize for it.
    11 CPU_CFLAGS = -msoft-float -mno-fp-ret-in-387
     11CPU_CFLAGS = -mtune=i386 -msoft-float -mno-fp-ret-in-387
    1212
    1313include $(RTEMS_ROOT)/make/custom/pc386.cfg
  • make/leaf.cfg

    rd0014c75 r66a9381d  
    110110.PHONY: clean clean-am
    111111endif
     112
     113## what to do about $(EXEEXT) --> $(EXEEXT)
     114##    -o $(basename $@)$(EXEEXT)             OR
     115##    -o $(basename $@)$(EXEEXT)                  OR
     116
     117DOWNEXT=.ralf
     118
     119define bsp-link-c
     120        $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
     121            -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
     122endef
     123
     124define bsp-link-cxx
     125        $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
     126            -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
     127endef
     128
     129define default-bsp-post-link
     130        $(NM) -g -n $@ > $(basename $@).num
     131        $(SIZE) $@
     132endef
     133
     134define bsp-post-link
     135        $(default-bsp-post-link)
     136        cp $(basename $@).exe $(basename $@)$(DOWNEXT)
     137endef
     138
     139define make-exe
     140       $(bsp-link-c)
     141       $(bsp-post-link)
     142endef
     143
     144define make-cxx-exe
     145       $(bsp-link-cxx)
     146       $(bsp-post-link)
     147endef
Note: See TracChangeset for help on using the changeset viewer.