This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS320F28379D: How to generate run time libraries and compile them through batch file

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

Hi,
I am trying to create a batch file for my new project for application-specific run time libraries. One thing I couldn't get is how to create run time libraries itself from the batch file. Attached is the batch file. Though I didn't implement the run time libraries creation. I need help with that part.

:begin

ECHO Compiling %1
set FILE_NAME=%1

SET LIB_PATH=C:\Users\h352524\workspace_v9_2\F28377D_Base_SMDs\Debug\myprogram.out

SET TO_COMPILE_FILES=C:\Users\h352524\workspace_v9_2\F28377D_Base_SMDs\Source\sci.c

SET INCLUDE_PATH=C:\Users\h352524\workspace_v9_2\rts_TMS320F28379_Flash_Lib

SET COMPILER_FLAGS= -v28 -ml --float_support=fpu32 --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c2000_18.12.3.LTS/include" --include_path="C:/ti/C2000Ware_3_01_00_00_Software/device_support/f2837xd/headers/include" --include_path="C:/ti/C2000Ware_3_01_00_00_Software/device_support/f2837xd/common/include"/ --include_path=%INCLUDE_PATH% -g --define=CPU1 --display_error_number --diag_suppress=10063 --diag_warning=225

REM set PATH=%TO_COMPILE_FILES%;%PATH%

REM Description of Linker Flags
REM -r link with the reolcation information
SET LINKER_FLAGS=--run_linker --rom_model

cl2000 %TO_COMPILE_FILES% %COMPILER_FLAGS% --include_path =%LIB_PATH%


:endfile