我在cygwin中编译tinyos的程序出现如下错误,不知道应该怎么解决。
$ make null
mkdir -p build/null
compiling BlinkAppC to a null binary
ncc -o build/null/main.exe -Os -finline-limit=100000 -Wall -Wshadow -fnesc-gcc=gcc -Wnesc-all -target=null -fnesc-cfile=build/null/app.c -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"fteworld\" -DIDENT_HOSTNAME=\"fteworld-PC\" -DIDENT_USERHASH=0x5abe572eL -DIDENT_TIMESTAMP=0x523d8ddaL -DIDENT_UIDHASH=0xcadb3341L BlinkAppC.nc -lm
gcc: 错误:unrecognized command line option ‘-_fnesc-gcc=gcc’
gcc: 错误:unrecognized command line option ‘-_fnesc-include=nesc_nx’
gcc: 错误:unrecognized command line option ‘-_fnesc-include=tos’
gcc: 错误:unrecognized command line option ‘-_fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask’
gcc: 错误:unrecognized command line option ‘-_fnesc-gcc=gcc’
gcc: 错误:unrecognized command line option ‘-_Wnesc-all’
gcc: 错误:unrecognized command line option ‘-_fnesc-cfile=build/null/app.c’
gcc: 错误:unrecognized command line option ‘-_fnesc-target=pc’
gcc: 错误:unrecognized command line option ‘-_fnesc-no-debug’
/opt/tinyos-2_1_2/support/make/null/null.rules:70: recipe for target `exe0' failed
make: *** [exe0] Error 1
tinyos 2.x编译问题 大概是说gcc 命令选项错误
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-