Changeset 6e0721a in rtems for make


Ignore:
Timestamp:
Oct 22, 1998, 6:16:25 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e7a273f6
Parents:
c77b2ca
Message:

Patch from Erik Ivanenko <erik.ivanenko@…>:

Please find attached a new i386ex.cfg. It has been altered to change
the files that get generated with the .nxe extension to .coff. This
change is necessary to align the file names generated by "make-exe" to
the those referred to in the GDB.HOWTO found in the
i386/shared/comm directory. It has been successfully tested on ticker (
without GDB), and base_sp( with GDB ) . I just set a breakpoint and
continue...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/custom/i386ex.cfg

    rc77b2ca r6e0721a  
    11#
    2 #  Config file for the force386 BSP
     2#  Config file for the i386ex BSP
    33#
    44#  $Id$
     
    1414
    1515#  This contains the compiler options necessary to select the CPU model
    16 #  and (hopefully) optimize for it. 
     16#  and (hopefully) optimize for it.
    1717#
    18 CPU_CFLAGS = 
     18CPU_CFLAGS =
    1919
    2020# optimize flag: typically -0, could use -O4 or -fast
     
    4545
    4646#  Something like this should produce a map file but this does not work.
    47 #           -Xlinker "-Map $(basename $@).map" $(LINK_OBJS)
     47
     48#     -Xlinker "-Map $(basename $@).map" $(LINK_OBJS)
    4849#
    4950#  This is a good way to get debug information.  The rdmp file is large
    5051#  though (1.9 Mb for hello) and greatly slows the build process.
    51 #       $(OBJDUMP) -x -m i386 -d $(basename $@).nxe > $(basename $@).rdmp
     52# $(OBJDUMP) -x -m i386 -d $(basename $@).coff > $(basename $@).rdmp
    5253
    5354# The following are definitions of make-exe which will work using ld as
     
    5758ifeq ($(RTEMS_USE_GCC272),yes)
    5859define make-exe
    59         $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \
     60        $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).coff \
    6061            -noinhibit-exec -Map $(basename $@).map \
    6162            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
    62         $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
     63        $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i
    6364        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    64            $(PROJECT_TOOLS)/packhex > $(basename $@).exe
    65         $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    66         $(SIZE) $(basename $@).nxe
     65                  $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     66        $(NM) -g -n $(basename $@).coff > $(basename $@).num
     67        $(SIZE) $(basename $@).coff
    6768endef
    6869else
    6970define make-exe
    70         $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe \
     71        $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).coff \
    7172            $(LINK_OBJS) $(LINK_LIBS)
    72         $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
     73        $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i
    7374        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    74            $(PROJECT_TOOLS)/packhex > $(basename $@).exe
    75         $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    76         $(SIZE) $(basename $@).nxe
     75                  $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     76        $(NM) -g -n $(basename $@).coff > $(basename $@).num
     77        $(SIZE) $(basename $@).coff
    7778endef
    7879endif
Note: See TracChangeset for help on using the changeset viewer.