Tool/software: Code Composer Studio
Hello,
I'm having a weird issue, when running the command below in a Windows 10 command prompt the object file is generated ok, but when using Docker (built from Ubuntu 18.04 and installed Linux Code Generation tools v7.2.24) I can see the object file generated with similar file size and then deleted a couple of seconds later, is there some additional parameters I need to provide to keep the object file?
cl6x -mv6748 --abi=eabi -O3 -ms3 -g --optimize_with_debug=on --gcc --define=c6748 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --remove_hooks_when_inlining --printf_support=nofloat -D=WATCHDOG_STR=\"1\" --preinclude="../PGM_sysbios/Include/platform.h" --include_path="/opt/ti/c6000_7.4.24/include" --include_path="../libStarterWare/StarterWare/include" --include_path="../libStarterWare/StarterWare/include/hw" --include_path="../libStarterWare/StarterWare/include/c674x" --include_path="../libStarterWare/StarterWare/include/c674x/c6748" --preproc_with_compile --preproc_dependency="Debug/FileManager.d" --obj_directory="Debug/" --asm_directory="Debug/" "FileManager.cpp"
I tried echo "hello world" > test.obj in the Docker console and file is not being deleted which suggests cl6x compiler is the one responsible for deleting the object file but have no idea why.
Best regards,
David.