DSPRelated.com
Forums

DSP/BIOS with C++ linking problem.

Started by plughead777 May 9, 2006
Hi,
Ive just discovered that when I enable C++ (Treat C files as C++ Files
(-fg)) copiler option to enable C++ code, the linker is unable to
resolve symbols in main.c with their references in the DSP/BIOS *.cdb

In other words when I enable -fg then the linker complains.

Is anyone else combining C++ with DSP/BIOS?

Many Thanks
Do things work Ok, if you use a C++ file extension instead of using the
standard C file extension? I use CPP as my file extension, since I've
spent lots of time working with MS C. I can't remember the default file
extension that TI C uses, and I'm not using the BIOS, but I am using the
CSL (Chip Support Library) and all of my projects are C++ stuff.

plughead777 wrote:
> Hi,
> Ive just discovered that when I enable C++ (Treat C files as C++ Files
> (-fg)) copiler option to enable C++ code, the linker is unable to
> resolve symbols in main.c with their references in the DSP/BIOS *.cdb
>
> In other words when I enable -fg then the linker complains.
>
> Is anyone else combining C++ with DSP/BIOS?
>