The platform that I am using is DM6446 of TI's.
I have a quertion when I compile my application. The demos on the board are encode, decoe and encodedecode . Now I write an application based on the encode demo . The encode demo has these threads : ctrl , capture, display , video and write ,speech . I write a network transmission thread using an open source library -------------- RTP ( Real-time Transport Protocol ) instead of writer thread . And I still want to use the make system in the demos ,because my application is based on them . So , problem comes . Because the RTP
function is c++, so my application includes main.c , ctrl.c , capture.c , display.c, video.c and rtp.cpp, speech.c . The rtp.cpp is a c++ file . But the config of the demo(such as encode ) only can compile *.c files . How should I do to the config files such as makefile and xdc config file of the encode demo , so it can compile my *.c files and *.cpp file together . Please tell me with details or give me an example that demonstration how to compile an application that with c++ files and *.c files Mixed. Thanks .
And another question , I found that when the arm_v5t_le-gcc compile *.cpp file , it can automaticly change into gcc ,but not arm_v5t_le-g++ , this is a problem , isn't it ?
Thanks very much .