plugin first steps

Chris Johns chrisj at rtems.org
Tue Nov 25 22:56:32 UTC 2008


Sebastian Huber wrote:
> Chris Johns wrote:
>> Joel Sherrill wrote:
>>> It seems like you are working to extract information
>>> from the RTEMS Application Makefiles and generate
>>> some configuration information for Eclipse.  Chris
>>> has been working to eliminate them in favor of autoconf
>>> for the external examples.
>>>
>> I have not followed in detail where they are getting the info from but
>> Makefiles would concern me.
> 
> With from Makefiles I mean run make with a special Makefile and parse
> the output of the make run.
> 

Sorry I do not know what this means.

>> The approach taken in the autoconf examples is to use the BSP
>> configuration files.
>>
>> Does Eclipse have support for autotools ?
> 
> Yes, there exists a CDT based Autotools plug-in, but the managed make
> system from CDT is for our purpose much better.
> 

Sure and I understand. Having managed make depend on the make up of files in 
RTEMS that are not considered a published API is my only concern. If the 
managed make does depend on specific RTEMS files I would like to know what 
they are and we all agree these are an interface and changes to that interface 
will effect users such as Eclipse.

I would like see RTEMS standardise on autoconf and automake as its documented 
way of building applications replacing the current one. If other build systems 
can be supported I welcome that. This means we have a single build environment 
for RTEMS and the external example type applications.

>>> Couldn't the same information be directly generated
>>> by RTEMS?
>> It is held in RTEMS already in the BSP config files. This file is
>> installed when the BSP is installed.
> 
> Yes, but it is hard to extract information from these scattered files.
> 

This is a single file installed into a common location under the prefix (see 
other email for the path). The current idea is these files are included in the 
application Makefile. Is this possible with the managed make of Eclipse ? This 
is how the autotools support I have works.

Joel and I have been slowly making changes to the configuration files to 
refine the interface provided. For example 'bsp-post-link' is a Makefile 
command to perform what the BSP's post link processing is. I am happy to make 
further changes if it helps.

Another issue still outstanding is the removal of ".exe" and the use of $(EXEEXT).

Regards
Chris



More information about the users mailing list