[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] Problem to develop a toolchain
|
Hi,
I trying to develop toolchains for Visusal C and a compiler from IAR. After
I've read the cookbook 'Managed Build System Extensibility Document', I
defined a tiny toolchain, which contain the calls for the compiler and linker
only. To test the toolchain, I created a project with 'Managed Make C
Project' and added durectory with a C-File to the project. This file was
compiled right, but the call of the linker failed, because the entry within
the generated makefile was
test: $(OBJS)
@echo 'Building target: $@'
null null $@ $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building: $@'
instead of
test: $(OBJS)
@echo 'Building target: $@'
xlink -o $@ $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building: $@'
Has someone any idea how I can solve the problem or how I can debug a
generated plugin?
The content of the file 'plugin.xml' is:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="org.eclipse.cdt.IAR.toolchain"
name="Toolchain Plug-in"
version="1.0.0"
provider-name="">
<runtime>
<library name="toolchain.jar">
<export name="*"/>
</library>
</runtime>
<requires>
<import plugin="org.eclipse.cdt.managedbuilder.core"/>
</requires>
<extension
id="org.eclipse.cdt.IAR.toolchain"
name="IAR Tool Chain"
point="org.eclipse.cdt.managedbuilder.core.ManagedBuildInfo">
<target
isAbstract="false"
errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCE
rrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.VCErrorPa
rser" osList="win32"
makeCommand="make"
isTest="false"
binaryParser="org.eclipse.cdt.core.PE"
name="IAR Executable"
id="IAR.toolchain.executable"
cleanCommand="rm -f">
<configuration
name="Test Release"
id="IAR.toolchain.release"/>
<tool
command="C:\Programme\IAR_Systems\ew23\h8\bin\icch8"
sources="c,C"
outputs="r37"
headerExtensions="h,H"
name="Compiler"
outputFlag="-o"
id="IAR.toolchain.compiler"
natureFilter="both"/>
<tool
command="C:\Programme\IAR_Systems\ew23\h8\bin\xlink"
sources="r37"
outputs="mot"
name="Linker"
outputFlag="-o"
id="IAR.toolchain.linker"
natureFilter="both"/>
</target>
</extension>
</plugin>
best regards,
Ralf Ebert