Tool/software: TI C/C++ Compiler
Hi,
Good Morning.
I am trying to build one simple hello world program to be used with Cortex-M3 -IPU-1 of DRA72x SoC outside of CCS with my make.When i try compiling my helloworld.c with armcl , i see a warning/error coming up in the linking stage after object file- helloworld.o and its lib is successfully generated in the first stage of compilation.
<Linking>
warning: cannot resolve archive
/opt/ti/ccsv5/tools/compiler/arm_5.0.5/lib/libc.a to a compatible library,
as no input files have been encountered
fatal error: no input files
When googled, i found , it looks linker not able to find the source libraries generated. But i have used -l option to mention path the generated library.Please find the commands used attached below.And let me know if option or environment variable to be set up.
Note:
Compiler Invocation command used.
/opt/ti/ccsv5/tools/compiler/arm_5.0.5/bin/armcl --preproc_with_compile --preproc_dependency="out/NGI2_M4/obj/helloworld.tmp" -mv=7M3 --obj_directory=out/NGI2_M4/obj -eo=.o -c -me --abi=eabi -g -O2 -Ibb_imp_test_back/bb_imp_test_imp/_src -Iout/include/sysbios_arm -Iout/include/common -I/opt/ti/ccsv5/tools/compiler/arm_5.0.5/include bb_imp_test_back/bb_imp_test_imp/_src/helloworld.c
/opt/ti/ccsv5/tools/compiler/arm_5.0.5/bin/armcl -mv=7M3 -g --diag_warning=225 --abi=eabi -z -m=out/NGI2_M4/bin/test.map -I/opt/ti/ccsv5/tools/compiler/arm_5.0.5/lib --reread_libs --rom_model -l "libc.a" -o out/NGI2_M4/bin/test.out -l out/NGI2_M4/lib/libtest.a
out/NGI2_M4/lib/libtest.a -This library is already generated
Thanks for your support.
With regards,
Jeyaseelan