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.

AM5708用makefile编译cpp

Other Parts Discussed in Thread: AM5708

请教,我的dsp中部分代码是c++算法库,.cpp格式。之前运行在C6748中,用g++编译.cpp和 gcc编译.c 。

现在移植到AM5708中,参考的makefile中是

CC = $(CGTOOLS)/bin/cl6x -c
LD = $(CGTOOLS)/bin/cl6x -z

bin/$(PROFILE)/obj/%.oe66: %.c $(CONFIG)/compiler.opt

$(CC) $(CPPFLAGS) $(CFLAGS) --output_file=$@ -fc $<

%.oe66: %.c是可以的,但是%.oe66: %.cpp不行,但是我不知如何查找像g++这样的编译器

求教编译.cpp如何修改?