📄 ncl.bat
字号:
@ECHO OFFCLSECHO .ECHO ************************************************ECHO ** Building Nucleus Common LibraryECHO ************************************************ECHO .REM ** To change the cpu designator from change the following line:REM ** Set this according to the Core Module being usedSET CPU=ARM7TDMISET COMPILER=ARMCCif "%1"=="thumb" set COMPILER=TCCif "%1"=="THUMB" set COMPILER=TCCif "%1"=="newcpu" set CPU=%2if "%2"=="newcpu" set CPU=%3@ECHO ONIF NOT EXIST "o\*.*" MKDIR "o"CD ".\src\"%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. _str2ul.c -o ..\o\_str2ul.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. _strtol.c -o ..\o\_strtol.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. _strtoul.c -o ..\o\_strtoul.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. _uctype.c -o ..\o\_uctype.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. _ultoa.c -o ..\o\_ultoa.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. abs.c -o ..\o\abs.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. atoi.c -o ..\o\atoi.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. atol.c -o ..\o\atol.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. errno.c -o ..\o\errno.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. isalnum.c -o ..\o\isalnum.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. isalpha.c -o ..\o\isalpha.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. isascii.c -o ..\o\isascii.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. iscntrl.c -o ..\o\iscntrl.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. isdigit.c -o ..\o\isdigit.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. isgraph.c -o ..\o\isgraph.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. islower.c -o ..\o\islower.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. isprint.c -o ..\o\isprint.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. ispunct.c -o ..\o\ispunct.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. isspace.c -o ..\o\isspace.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. isupper.c -o ..\o\isupper.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. isxdigit.c -o ..\o\isxdigit.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. itoa.c -o ..\o\itoa.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. memchr.c -o ..\o\memchr.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. memcmp.c -o ..\o\memcmp.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. memcpy.c -o ..\o\memcpy.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. memmove.c -o ..\o\memmove.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. memset.c -o ..\o\memset.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. rand.c -o ..\o\rand.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strcat.c -o ..\o\strcat.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strchr.c -o ..\o\strchr.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strcmp.c -o ..\o\strcmp.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strcpy.c -o ..\o\strcpy.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strcspn.c -o ..\o\strcspn.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strlen.c -o ..\o\strlen.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strncat.c -o ..\o\strncat.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strncmp.c -o ..\o\strncmp.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strncpy.c -o ..\o\strncpy.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strpbrk.c -o ..\o\strpbrk.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strrchr.c -o ..\o\strrchr.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strspn.c -o ..\o\strspn.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strstr.c -o ..\o\strstr.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strtok.c -o ..\o\strtok.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strtol.c -o ..\o\strtol.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. strtoul.c -o ..\o\strtoul.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. toascii.c -o ..\o\toascii.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. tolower.c -o ..\o\tolower.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. toupper.c -o ..\o\toupper.o%COMPILER% -apcs /inter -g -c -cpu %CPU% -I ../.. npp_ncl.c -o ..\o\npp_ncl.oCD ".."IF NOT EXIST "..\lib\*.*" MKDIR "..\lib"IF EXIST "..\lib\NCL.lib" DEL "..\lib\NCL.lib"ARMAR -r ..\lib\NCL.lib o\_str2ul.o o\_strtol.o o\_strtoul.o ARMAR -r ..\lib\NCL.lib o\_uctype.o o\_ultoa.o o\abs.o ARMAR -r ..\lib\NCL.lib o\atoi.o o\atol.o o\errno.o ARMAR -r ..\lib\NCL.lib o\isalnum.o o\isalpha.o o\isascii.o ARMAR -r ..\lib\NCL.lib o\iscntrl.o o\isdigit.o o\isgraph.o ARMAR -r ..\lib\NCL.lib o\islower.o o\isprint.o o\ispunct.o ARMAR -r ..\lib\NCL.lib o\isspace.o o\isupper.o o\isxdigit.o ARMAR -r ..\lib\NCL.lib o\itoa.o o\memchr.o o\memcmp.o ARMAR -r ..\lib\NCL.lib o\memcpy.o o\memmove.o o\memset.o ARMAR -r ..\lib\NCL.lib o\rand.o o\strcat.o o\strchr.o ARMAR -r ..\lib\NCL.lib o\strcmp.o o\strcpy.o o\strcspn.o ARMAR -r ..\lib\NCL.lib o\strlen.o o\strncat.o o\strncmp.o ARMAR -r ..\lib\NCL.lib o\strncpy.o o\strpbrk.o o\strrchr.o ARMAR -r ..\lib\NCL.lib o\strspn.o o\strstr.o o\strtok.o ARMAR -r ..\lib\NCL.lib o\strtol.o o\strtoul.o o\toascii.o ARMAR -r ..\lib\NCL.lib o\tolower.o o\toupper.o o\npp_ncl.o :EXIT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -