This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linker error with C++ exception handling enabled, for 6740



I am using CCS 5.1 and I am trying to compile C++ code with exceptions handling enabled.

I am *NOT* using the BIOS in my project.

For test, the source file (only one) contains just an "Hello World" printf.

I have selected ELF format. At link time I get this message:

warning #10366-D: automatic library build: using library
"D:\Programs\ti\ccsv5\tools\compiler\c6000\lib\rts6740_elf_eh.lib" for the
first time, so it must be built. This may take a few minutes.

After a long while I get this:

"sqrtf_i.h", line 40: warning: variable "f" was set but never used
"sqrtf_i.h", line 40: warning: variable "f" was set but never used
--> error: '*.obj
' not found
gmake.exe[1]: *** [library] Error 1
>> ERROR: mklib: gmake error during rts6740_elf_eh.lib build
warning #10207-D: automatic RTS selection: resolving index library "libc.a" to
"D:\Programs\ti\ccsv5\tools\compiler\c6000\lib\rts6740_elf_eh.lib", but
"D:\Programs\ti\ccsv5\tools\compiler\c6000\lib\rts6740_elf_eh.lib" was not
found
error #10198-D: no input section is linked in
warning #10062-D: entry-point symbol "_c_int00" undefined
warning #10202-D: no suitable entry-point found; setting to 0
error #10010: errors encountered during linking; "testCppException.out" not
built

>> Compilation failure
gmake: *** [testCppException.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

(no rts6740_elf_eh.lib has been created in the directory D:\Programs\ti\ccsv5\tools\compiler\c6000\lib\)

Has anyone found the same problem?

thanks