How to delete the options"-MMD -MP" of complier C++ [message #167005] |
Thu, 24 August 2006 05:24 |
Eclipse User |
|
|
|
Originally posted by: lserlohn.163.com
I use Eclipse with CDT 3.0 to build my project for Embeded System of ARM,
which is C++ program.
But some option such as "-MMD -MP -MF" are not support by
ARM-cross-complier,so every time I uses:
arm-linux-g++ -O0 -g3 -Wall -MMD -MP -MF"main.d" -MT"main.d" -o"main.o"
"../main.cpp"
there always shows errors:
arm-linux-g++: unrecognized option `-MP'
arm-linux-g++: unrecognized option `-MFmain.d'
arm-linux-g++: unrecognized option `-MTmain.d'
I want to delete these options, but I don't know how to. I don't see these
options in project properties.I edited subdir.mk, but nothing changed.
What should I do?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.10168 seconds