File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 144144 " dwarf-3"
145145 ]
146146 },
147+ "use-newlib-nano" : {
148+ "markdownDescription" : " Use newlib-nano (--specs=nano.specs)" ,
149+ "type" : " boolean"
150+ },
151+ "not-use-syscalls" : {
152+ "markdownDescription" : " Do not use syscalls (--specs=nosys.specs)" ,
153+ "type" : " boolean"
154+ },
147155 "misc-control" : {
148156 "markdownDescription" : " Other Global Options" ,
149157 "description.zh-cn" : " 编译器附加选项(全局)" ,
Original file line number Diff line number Diff line change 299299 " cpp"
300300 ]
301301 },
302+ "use-newlib-nano" : {
303+ "type" : " selectable" ,
304+ "command" : {
305+ "true" : " --specs=nano.specs" ,
306+ "false" : " "
307+ },
308+ "group" : [
309+ " c" ,
310+ " cpp" ,
311+ " asm" ,
312+ " linker"
313+ ]
314+ },
315+ "not-use-syscalls" : {
316+ "type" : " selectable" ,
317+ "command" : {
318+ "true" : " --specs=nosys.specs" ,
319+ "false" : " "
320+ },
321+ "group" : [
322+ " c" ,
323+ " cpp" ,
324+ " asm" ,
325+ " linker"
326+ ]
327+ },
302328 "misc-control" : {
303329 "type" : " list" ,
304330 "command" : " " ,
Original file line number Diff line number Diff line change @@ -2400,7 +2400,9 @@ class GCC implements IToolchian {
24002400 global : {
24012401 "$float-abi-type" : 'hard' ,
24022402 "output-debug-info" : 'enable' ,
2403- "misc-control" : "--specs=nosys.specs --specs=nano.specs"
2403+ "use-newlib-nano" : true ,
2404+ "not-use-syscalls" : true ,
2405+ "misc-control" : ""
24042406 } ,
24052407 'c/cpp-compiler' : {
24062408 "language-c" : "c11" ,
You can’t perform that action at this time.
0 commit comments