Changeset 6e0721a in rtems
- Timestamp:
- 10/22/98 18:16:25 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- e7a273f6
- Parents:
- c77b2ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
make/custom/i386ex.cfg
rc77b2ca r6e0721a 1 1 # 2 # Config file for the force386BSP2 # Config file for the i386ex BSP 3 3 # 4 4 # $Id$ … … 14 14 15 15 # This contains the compiler options necessary to select the CPU model 16 # and (hopefully) optimize for it. 16 # and (hopefully) optimize for it. 17 17 # 18 CPU_CFLAGS = 18 CPU_CFLAGS = 19 19 20 20 # optimize flag: typically -0, could use -O4 or -fast … … 45 45 46 46 # 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) 48 49 # 49 50 # This is a good way to get debug information. The rdmp file is large 50 51 # though (1.9 Mb for hello) and greatly slows the build process. 51 # $(OBJDUMP) -x -m i386 -d $(basename $@).nxe> $(basename $@).rdmp52 # $(OBJDUMP) -x -m i386 -d $(basename $@).coff > $(basename $@).rdmp 52 53 53 54 # The following are definitions of make-exe which will work using ld as … … 57 58 ifeq ($(RTEMS_USE_GCC272),yes) 58 59 define make-exe 59 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@). nxe\60 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).coff \ 60 61 -noinhibit-exec -Map $(basename $@).map \ 61 62 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group 62 $(OBJCOPY) -O srec $(basename $@). nxe$(basename $@).i63 $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i 63 64 $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ 64 65 $(NM) -g -n $(basename $@). nxe> $(basename $@).num66 $(SIZE) $(basename $@). nxe65 $(PROJECT_TOOLS)/packhex > $(basename $@).exe 66 $(NM) -g -n $(basename $@).coff > $(basename $@).num 67 $(SIZE) $(basename $@).coff 67 68 endef 68 69 else 69 70 define make-exe 70 $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@). nxe\71 $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).coff \ 71 72 $(LINK_OBJS) $(LINK_LIBS) 72 $(OBJCOPY) -O srec $(basename $@). nxe$(basename $@).i73 $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i 73 74 $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ 74 75 $(NM) -g -n $(basename $@). nxe> $(basename $@).num76 $(SIZE) $(basename $@). nxe75 $(PROJECT_TOOLS)/packhex > $(basename $@).exe 76 $(NM) -g -n $(basename $@).coff > $(basename $@).num 77 $(SIZE) $(basename $@).coff 77 78 endef 78 79 endif
Note: See TracChangeset
for help on using the changeset viewer.