在BSP的Makefile修改
CPU = ARMARCH5
TOOL = diab
EXTRA_DEFINE = -Wcomment -DCPU_946ES \
-DARMMMU=ARMMMU_946E -DARMCACHE=ARMCACHE_946E
出现
line 173: error (dcc:1700): implicit intrinsic __ff1 must have 1 argument(s) - when the intrinsic is
enabled, optional user prototype must match
错误处理:在\Tornado2.2\target\h\make\defs.bsp 文件157行
COMPILE_SYMTBL = $(CC) $(OPTION_OBJECT_ONLY) $(OPTION_DOLLAR_SYMBOLS) $(CFLAGS)
改为
COMPILE_SYMTBL = $(CC) -Xintrinsic-mask=0 $(OPTION_OBJECT_ONLY) $(OPTION_DOLLAR_SYMBOLS) $(CFLAGS)
在\Tornado2.2\target\h\make\defs.project 文件77行
COMPILE_SYMTBL = $(CC) $(OPTION_OBJECT_ONLY) $(OPTION_DOLLAR_SYMBOLS)\
$(CFLAGS) $(OPTION_NO_WARNINGS)
改为
COMPILE_SYMTBL = $(CC) -Xintrinsic-mask=0 $(OPTION_OBJECT_ONLY) $(OPTION_DOLLAR_SYMBOLS)\
$(CFLAGS) $(OPTION_NO_WARNINGS)
加上-Xintrinsic-mask=0 选项 禁止 intrinsic 函数功能