Hi
I am running CCS 5.5 to build a C66x project.
I create some SYS/BIOS objects in my .cfg file and reference them in my code. I know that the RTSC tools automatically create a myproj_pe66.h file that contains extern definitions for the BIOS objects. I also know that the path to that file is defined by:
-Dxdc_cfg__header__="<path>/myproj_pe66.h"
in auto-generated files compiler.opt and compiler.def.
My problem is that the compiler is not finding the definitions and is giving "undefined symbol" compiler errors for my BIOS references.
If I explicitly #include "<path>/myproj_pe66.h" at the top of my source file the compiler errors don't occur. So there is something wrong in the way that the project is using symbol xdc_cfg__header_.
The compiler command does reference compiler.opt:
"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: C:/SVNProj/myfile.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv64+ --abi=eabi -O2 -ms0 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --
<snip>
--define=_LITTLE_ENDIAN --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile
--preproc_dependency="myfile.pp" --cmd_file="./configPkg/compiler.opt"
How can I find out what's going wrong with this please?
Best regards
David