Other Parts Discussed in Thread: SYSBIOS
Hi,
I'm trying to migrate our projects to tiarmclang as explained there: https://software-dl.ti.com/codegen/docs/tiarmclang/compiler_tools_user_guide/migration_guide/index.html
The migration was done ok. The project.log shows only non problematic warning.
However when I try to compile I get the following output:
**** Build of configuration Release__TICLANG for project cc32xx_roomz_lib **** "C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 8 all -O Building file: "../release.cfg" Invoking: XDCtools "C:/ti/ccs1000/xdctools_3_62_00_08_core/xs" --xdcpath="C:/ti/simplelink_cc32xx_sdk_5_10_00_02/source;C:/ti/simplelink_cc32xx_sdk_5_10_00_02/kernel/tirtos/packages;C:/ti/simplelink_cc32xx_sdk_5_10_00_02;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC3235SF -r release -c "C:/ti/ti-cgt-armllvm_1.3.0.LTS" "../release.cfg" configuring release.xem4 from package/cfg/release_pem4.cfg ... generating custom ti.sysbios library makefile ... Starting build of library sources ... making C:/workspace/ccs_v3/cc32xx_roomz_lib/src/sysbios/sysbios.aem4 ... clem4 C:/ti/simplelink_cc32xx_sdk_5_10_00_02/kernel/tirtos/packages/ti/sysbios/BIOS.c ... Build of libraries failed. subdir_rules.mk:19: recipe for target 'build-660403727-inproc' failed C:/Users/gerbe/AppData/Local/Temp/make4492-3.sh: 1: C:/Users/gerbe/AppData/Local/Temp/make4492-3.sh: C:/ti/ti-cgt-armllvm_1.3.0.LTS/bin/armcl: not found
It seems that xdc tools is still configured to use armcl and does not find it in clang folder...
When I look into Release__TICLANG/configPkg/package.mak I see the reference to armcl.
release.xem4: package/cfg/release_pem4.oem4 $(RM) $@ @$(MSG) lnkem4 $@ ... $(RM) $(XDCCFGDIR)/$@.map $(ti.targets.arm.elf.M4.rootDir)/bin/armcl -fs $(XDCCFGDIR)$(dir $@). -q -u _c_int00 --silicon_version=7M4 -z --strict_compatibility=on -o $@ package/cfg/release_pem4.oem4 package/cfg/release_pem4.xdl -w -c -m $(XDCCFGDIR)/$@.map -l $(ti.targets.arm.elf.M4.rootDir)/lib/libc.a
I have searched how to configure xdc to use clang, but without success.
How can I change this?
Cédric