Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] several compiler in one toolchain

Hi,

You are using the "old" managed build system definitions that were used
in CDT 1.* and 2.0.  For CDT 2.1 there is a new "model" that uses a new
extension point.  The "old" definitions are still supported in 2.1, but
the new definitions are recommended.  

For the capabilities that I have described, you need CDT 2.1, and you
need to define your tool integration using the new model.  See
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-home/user/Refere
nce%20Documents/Managed_Build_21/Managed_Build_Extensibility.html?cvsroo
t=Tools_Project

Regards,
Leo


-----Original Message-----
From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] On
Behalf Of Ebert, Ralf
Sent: Tuesday, January 18, 2005 5:09 AM
To: cdt-dev@xxxxxxxxxxx
Subject: AW: [cdt-dev] several compiler in one toolchain

Hi,

>
> In the MBS plugin.xml definition, a project can contain 
> multiple configurations.  A configuration specifies the 
> tool-chain to be used and the tool-chain can be different 
> per-configuration.  The tool-chain specifies the tools 
> which can be different per-tool-chain.  What you want to 
> do is intended to work.
>

Maybe I have a wrong sight to the tool-chain: I have defined the target
'target', the configurations 'release', 'debug' and 'simulation' and the
tools 'icch8', 'xlink', 'cl' and 'link'. The tree looks like

org.eclipse.cdt.managedbuilder.core.ManagedBuildInfo
  target (target)
    release (configuration)
    debug (configuration)
    simulation (configuration)   
    icch8 (tool)
    xlink (tool)
    cl (tool) 
    link (tool)

My project for target contains several files, for example three: 'a.c',
'b.c' and 'c.c'. 

'a.c' and 'b.c' are needed to build the release 'target.mot' with the
tools 'icch8' and 'xlink', 'b.c' and 'c.c' are needed to build the
simulation 'simulation.exe' with the tools 'cl' and 'link'.  After
creating the Project with managed build (project type 'target') I
excluded 'a.c' from the build of the configuration 'simulation' and
excluded 'c.c' from the build of the configuration 'release'. Further I
configured the options of the tools. After building the target, the
build directories 'release' and 'debug' was created, but not
'simulation'. But I see no way to say the MBS, the the simulation must
be created by 'cl' and 'link' instead of 'icch8' and 'xlink', because
I've found no way to assign tools to a configuration like

org.eclipse.cdt.managedbuilder.core.ManagedBuildInfo
  target (target)
    release (configuration)
      reference to icch8
      reference to xlink
    debug (configuration)
      reference to icch8
      reference to xlink
    simulation (configuration)   
      reference to cl
      reference to link
    icch8 (tool)
    xlink (tool)
    cl (tool) 
    link (tool)


Regards,
Ralf
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top