From dbe1bc4be25ddeb442e13d7de21be68cdffd3679 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 1 Dec 2008 14:51:33 +0000 Subject: Added toolchains for Cygwin and MinGW. --- .../org/rtems/cdt/build/CommandLineGenerator.java | 12 +- org.rtems.cdt.toolchain2/plugin.xml | 234 ++++++++++++++++++--- 2 files changed, 213 insertions(+), 33 deletions(-) diff --git a/org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java b/org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java index fbe7420..6276708 100644 --- a/org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java +++ b/org.rtems.cdt.toolchain2/org/rtems/cdt/build/CommandLineGenerator.java @@ -41,14 +41,14 @@ public class CommandLineGenerator extends ManagedCommandLineGenerator implements toolKey = Constants.TOOL_ARCHIVER_KEY; } else if (id.contains( "assembler")) { toolKey = Constants.TOOL_ASSEMBLER_KEY; - } else if (id.contains( "c.compiler")) { - toolKey = Constants.TOOL_COMPILER_C_KEY; - } else if (id.contains( "cpp.compiler")) { + } else if (id.contains( "compiler.cpp")) { toolKey = Constants.TOOL_COMPILER_CPP_KEY; - } else if (id.contains( "c.linker")) { - toolKey = Constants.TOOL_LINKER_C_KEY; - } else if (id.contains( "cpp.linker")) { + } else if (id.contains( "compiler.c")) { + toolKey = Constants.TOOL_COMPILER_C_KEY; + } else if (id.contains( "linker.cpp")) { toolKey = Constants.TOOL_LINKER_CPP_KEY; + } else if (id.contains( "linker.c")) { + toolKey = Constants.TOOL_LINKER_C_KEY; } // Set command name diff --git a/org.rtems.cdt.toolchain2/plugin.xml b/org.rtems.cdt.toolchain2/plugin.xml index 10aa114..16849ad 100644 --- a/org.rtems.cdt.toolchain2/plugin.xml +++ b/org.rtems.cdt.toolchain2/plugin.xml @@ -15,7 +15,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -193,7 +355,7 @@ @@ -205,7 +367,7 @@ @@ -215,26 +377,45 @@ + + + parent="org.rtems.cdt.config.base"> + + + + + + + + - + - + class="org.rtems.cdt.preferences.PreferenceInitializer"/> @@ -273,13 +453,13 @@ value="org.eclipse.cdt.managedbuilder.core.managedBuildNature"/> - - - - + + - - + + + + -- cgit v1.2.3