We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
My project consists of c and c++ libraries. main function is in c source file. Whenever i am trying to call c++ functions, it is compiling and linking without errors. But c++ object are getting removed in hex (from map file).
What could be the reason ?
I tried it but still not working. It is getting stuck at BKPT0xAB.
Related to semihosting. I tried to disable semihosting but following linker errors are coming.
__use_no_semihosting was requested, but _sys_exit was referenced __use_no_semihosting was requested, but _sys_open was referenced __use_no_semihosting was requested, but _ttywrch was referenced
...ah, that's been some helpful information - regarding the stop 0xAB we have created a corresponding Knowledgebasde Article, which I assume could be solving this issue - pls refer to: http://www.keil.com/support/docs/3614.htm
I have implemented the above 3 functions referring the file attachment from the link in retarget.c. But now the following error is popping up which is making me further confused.
Error: L6200E: Symbol _sys_open multiply defined (by sys_io.o and retarget.o).
If am removing sys_open function linker error says it is referencing the sys_open() ..
I am facing the same problem mentioned in the below link.
www.keil.com/.../