mpw-config.in
来自「基于4个mips核的noc设计」· IN 代码 · 共 53 行
IN
53 行
# Configuration fragment for LD.If "{target_canonical}" =~ /m68k-apple-macos/ Set emulname m68kcoff forward-include "{srcdir}"mpw-em68kcoff.c em68kcoff.c Set emulation_ofiles "{o}"em68kcoff.c.oElse If "{target_canonical}" =~ /powerpc-apple-macos/ Set emulname ppcmacos forward-include "{srcdir}"mpw-eppcmac.c eppcmacos.c Set emulation_ofiles "{o}"eppcmacos.c.oElse If "{target_canonical}" =~ /i386-\Option-x-go32/ Set emulname i386go32 forward-include "{srcdir}"mpw-ei386go32.c ei386go32.c Set emulation_ofiles "{o}"ei386go32.c.oElse If "{target_canonical}" =~ /mips-\Option-x-ecoff/ Set emulname mipsidt forward-include "{srcdir}"mpw-idtmips.c emipsidt.c Set emulation_ofiles "{o}"emipsidt.c.oElse If "{target_canonical}" =~ /mips-\Option-x-\Option-x/ Set emulname elf32ebmip forward-include "{srcdir}"mpw-elfmips.c eelf32ebmip.c Set emulation_ofiles "{o}"eelf32ebmip.c.oElse If "{target_canonical}" =~ /sh-\Option-x-hms/ Set emulname sh forward-include "{srcdir}"mpw-esh.c esh.c Set emulation_ofiles "{o}"esh.c.oEnd IfEcho '/* This file is automatically generated. DO NOT EDIT! */' > "{o}"ldemul-tmp.hEcho "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >> "{o}"ldemul-tmp.hEcho '#define EMULATION_LIST \' >> "{o}"ldemul-tmp.hEcho " &ld_{emulname}_emulation, \" >> "{o}"ldemul-tmp.hEcho ' 0' >> "{o}"ldemul-tmp.hMoveIfChange "{o}"ldemul-tmp.h "{o}"ldemul-list.hEcho '# From mpw-config.in' > "{o}"mk.tmpEcho "EMUL = " {emulname} >> "{o}"mk.tmpEcho "EMULATION_OFILES = " {emulation_ofiles} >> "{o}"mk.tmpEcho 'version = ' `Search 'ld version ' {srcdir}ldver.c | sed -e 's/.*ld version \([^ ]*\).*/\1/'` >> "{o}"mk.tmpEcho "TDEFINES = " >> "{o}"mk.tmpEcho '# End from mpw-config.in' >> "{o}"mk.tmpEcho '/* config.h. Generated by mpw-configure. */' > "{o}"config.newEcho '#include "mpw.h"' >> "{o}"config.newMoveIfChange "{o}"config.new "{o}"config.h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?