⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makeerrortable

📁 Vxworks的培训教程,大家分享下啊,
💻
字号:
# makeErrorTable - project makefile extension for building error status table# In the bootable project's build spec, define the makefile macro##   STAT_HEADER_DIRS  - a list of directories containing header files which#			potentially define error code macros starting with "S_"#			as well as a module number header file *ModNum.h. One#			should include $(TGT_DIR)/h in this list in order to#			get the VxWorks error codes.## Another "makefile macro" to be defined is##   include ../makeErrorTable ### which results in the inclusion of this file, provided it is placed# in the project directory.# # Also, a custom rule should be defined in the build spec. This rule# should be# #   statTbl.o :#   		$(MAKE_STAT_TBL)## That is, the target is statTbl.o, there are no dependencies, and the# build commands are given by $(MAKE_STAT_TBL), which is defined below.# Doing a "Re-Build All" rebuilds statTbl.o as well. Doing a "Build"# rebuilds statTbl.o only if it does not exist in the build spec# directory.MAKE_STAT_TOOL = makeStatTblSTAT_INCLUDES = $(patsubst %,-I%,$(STAT_HEADER_DIRS))STAT_CFLAGS = -wifneq   ($(findstring INCLUDE_STAT_SYM_TBL, $(COMPONENTS)),)EXTRA_MODULES        += statTbl.oendififneq ($(WIND_HOST_TYPE),x86-win32)define MAKE_STAT_TBL	$(MAKE_STAT_TOOL) $(STAT_HEADER_DIRS) > statTbl.c	$(CC) $(CFLAGS) $(STAT_INCLUDES) $(STAT_CFLAGS) -c statTbl.cendefelsedefine MAKE_STAT_TBL	$(MAKE_STAT_TOOL) $(STAT_HEADER_DIRS)	$(CC) $(CFLAGS) $(STAT_INCLUDES) $(STAT_CFLAGS) -c statTbl.cendefendif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -