cc.bat

来自「ucgui V3.98 是目前网络上相对较新的ucgui高版本源码啦。有兴趣的可」· Batch 代码 · 共 23 行

BAT
23
字号
@ECHO OFF
GOTO START

******************************************************************************
*
* File      : CC.bat
* Parameters: %1 Name of file to compile (without extension; .c is added)
* Purpose   : Compile one file and add it to the list of files to put in
*             Library
*
* This file as is uses the GNU ARM Compiler
*
******************************************************************************

:START

ECHO CC.BAT:              Compiling %1.c with GNU ARM compiler
arm-uclibc-gcc -D TARGET_AT91 -D OS_LIBMODE_SP -c -mcpu=arm7tdmi -MD -Wall -O3 -mapcs-frame -mthumb-interwork -o temp/Output/%1.o temp/Source/%1.c
IF ERRORLEVEL 1 PAUSE
IF NOT EXIST temp\Lib.dat @ECHO create lib/GUI_GNU.lib>temp\Lib.dat
@ECHO addmod temp/output/%1.o>>temp/lib.dat

⌨️ 快捷键说明

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