[gps-users] An MMI bug?

Leon Pollak leonp@plris.com
Sun, 28 Sep 2003 12:39:01 +0300


Hello.
	I am sorry to be so talkative during the weekend - simply started to test GPS 
extansively...:-)
	I defined my project as "pure" C/C++ (without Ada). This caused a lot of 
problems:
1. The 'switches' tab now contains only 'C' and 'C++' pages (no 'pretty 
printer', binder, linker).
2. The executable is not produced by make, but the library *.a.

	Now, then I checked the "Ada" back in General->Languages, went to "Naming" 
and renewed the C++ extension as *.cc' and pressed the 'switches' tab.
	The opened panel displays that it corresponds to 'C' definitions, but there 
is a mix of switches from many other pages.

	Now, when I tried to compile the project I received:
make -s -C /opt/TEST/ -f Makefile.test build BUILD=Debug 
make: *** No rule to make target `Makefile', needed by `/opt/TEST/c++linker'.  
Stop.
	Each attempt to open project editor brings the error box, which says "The 
project "test" contained errors and was incorrectly loaded by GPS. Editing it 
through the properties dialog might result in a loss of data." and suggests 
to load the project file.

	I tried to delete the project (except the sources) and create it from scratch 
again with Ada,C,C++. I received the red colored message saying that there is 
no Ada files, and the result was exactly the same: the error message box and 
the same make error.
	
	Does somebody know how can I work around these problems and create an 
executable from my C/C++ files?

Many thanks ahead and Best Regards
-- 
Dr.Leon M.Pollak
leonp at plris dot com