Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Inherit from GCC eclipse toolchain
Inherit from GCC eclipse toolchain [message #637933] Tue, 09 November 2010 12:03
sebastien61 is currently offline sebastien61Friend
Messages: 7
Registered: February 2010
Junior Member
Hello everbody,

I'm a beginner in Eclipse PDE, and I created a plugin to manage use my "compiler". So I'd like to add some options for the gcc toolchain available for eclipse to generate the following command line using eclipse :
mytool -myToolsOptions gcc -gccOptions files

In fact, I want to do like in the following picture :
http://old.nabble.com/file/p30111968/test.png

So I read many posts on the web about inheriting the gcc build system, but I
could not find how to do it. I tried most of the things I saw, but nothing
appears in the properties.

The extract from my plugin.xml file is :
<extension
id="cdt.managed.build.info"
name="Managed Build Tools Description"
point="org.eclipse.cdt.managedbuilder.core.buildDefinitions ">
<tool
advancedInputCategory="false"
command="myTool"
commandLinePattern="${myTool} ${myTool_args} ${compiler}
${compiler_args}"
customBuildStep="false"

errorParsers=" org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GC CErrorParser "
headerExtensions="C"
id="org.eclipse.ptp.pldt.myTool.toolchain"
isAbstract="false"
name="myTool"
natureFilter="cnature"
outputFlag="-o">
<optionCategory
id="org.eclipse.ptp.pldt.myTool.configuration"
name="myTool config">
</optionCategory>
<option
browseType="none"
category="org.eclipse.ptp.pldt.myTool.configuration"
command="-d"
id="org.eclipse.ptp.pldt.myTool.myTool_args"
isAbstract="true"
name="myTool arguments"
resourceFilter="all"
valueType="string">
</option>
<envVarBuildPath
pathType="buildpathInclude"
variableList="&quot;CPATH,C_INCLUDE_PATH&quot;">
</envVarBuildPath>
</tool>
<managedBuildRevision
fileVersion="3.0.0">
</managedBuildRevision>
</extension>

I also read the source code of photran (a plugin for fortran language)
source which does this job, but I could not perform that (nothing appears).

Did I forget something ? Is there something wrong ?
Thank you in advance for your help.
Previous Topic:'Export Features' - Unable to find: Installable Unit
Next Topic:Install of feature patch doesn't deploy plugin
Goto Forum:
  


Current Time: Wed Apr 24 17:50:29 GMT 2024

Powered by FUDForum. Page generated in 0.03156 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top