The Newsgroup Web Interface is deprecated, and can no longer be used to post. Please use the Community Forums.

Eclipse NewsPortal - eclipse.tools.cdt

CDT 4.0 Review

Subject: CDT 4.0 Review
From: rgobeli@xxxxxxxxxxxx (Richard Gobeli)
Newsgroups: eclipse.tools.cdt
Organization: Eclipse
Date: Jun 19 2007 18:37:08
The Code formatter is a very good adddition to the CDT 4.0 project.  It comes with 4 predefined code styles:

K&R
BSD/Allman
GNU
Whitesmiths

Starting with one of the predefine styles you can create your own code style.
The CDT allows many different code options to be confiqured.

I have found one issue with the code formatter currently.  It forces all comments to use the java comment style where the middle lines are indented by one space.  There isn't an option to disable this.  I have already posted a bug report for this deficiency.
__________________________________________________________________________

The make targets view has been in the previous version.  I only discovered this 2 months ago.  I found it to be very useful.  I can make any number of make calls to use in building my code.

I have found it better to use than the build all icon, because it doesn't go and build all the currently open projects.

__________________________________________________________________________

For the auto discovery of include files and data symbols to work, the makefile output needs to have a valid gcc, g++, cc, and c++ compiler call.

My system used a gnu modified compiler call from a batch file, so I needed to add some echo statements to the make file to get my autodiscovery to work.
My compiler uses -i for the include folder and autodiscovery is looking for -I
The symbols are picked up by the -D.
The call also needs to have a valid source name, because it will log the necessary data under each file name in the project.

Here is an example of one of my makefile rules with the faked compiler call:

%.lnk : %.c
@echo gcc $*.c -Ddsp56k -Ddsp56300 -I$(UEDIT_INCLUDE) -I$(DSP_INCLUDE)
cu56 $* -i$(UEDIT_INCLUDE) -i$(DSP_INCLUDE)

The include folders are also used in the search function and the editor F3 call.

The editor will use the data symbols to show the results of preprocessor conditional statements.  This can be very useful.
__________________________________________________________________________

Eclipse 3.3 with CDT 4.0 is an excellent programming environment.
I am ecstatically waiting for the Eclipse Europa release.

Richard gobeli

Date Subject  Author
31.12. o 


"News-Portal" was written by Florian Amrhein.


Search this group