Changeset f124b04 in rtems-eclipse-plug-in
- Timestamp:
- 11/24/08 03:01:03 (15 years ago)
- Branches:
- master
- Children:
- 8d045c3
- Parents:
- 235b60c
- Location:
- org.rtems.cdt.toolchain
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
org.rtems.cdt.toolchain/plugin.xml
r235b60c rf124b04 71 71 name="RTEMS Toolchain" 72 72 archList="all" 73 osList=" win32"73 osList="all" 74 74 configurationEnvironmentSupplier="org.rtems.cdt.toolchain.RtemsEnvironmentVariableSupplier" 75 75 isToolChainSupported="org.rtems.cdt.toolchain.IsRtemsToolChainSupported" … … 78 78 79 79 <targetPlatform 80 id="cdt.managedbuild.target.gnu.platform.rtems.base"81 name="Target Platform RTEMS"82 binaryParser="org.eclipse.cdt.core.PE"83 osList="win32"84 archList="all">80 archList="all" 81 binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" 82 id="cdt.managedbuild.target.gnu.platform.rtems.base" 83 name="Target Platform RTEMS" 84 osList="other"> 85 85 </targetPlatform> 86 86 … … 145 145 </option> 146 146 <option 147 defaultValue="-qrtems - D_REENTRANT -c -fmessage-length=0"147 defaultValue="-qrtems -c -fmessage-length=0" 148 148 id="rtems.gnu.c.compiler.option.misc.other" 149 149 superClass="gnu.c.compiler.option.misc.other"> … … 191 191 </option> 192 192 <option 193 defaultValue="-qrtems - D_REENTRANT -c -fmessage-length=0"193 defaultValue="-qrtems -c -fmessage-length=0" 194 194 id="rtems.gnu.cpp.compiler.option.other.other" 195 195 superClass="gnu.cpp.compiler.option.other.other"> … … 380 380 </option> 381 381 <option 382 defaultValue="-qrtems -D_REENTRANT"382 defaultValue="-qrtems" 383 383 id="rtems.gnu.c.link.option.ldflags" 384 384 superClass="gnu.c.link.option.ldflags"> 385 385 </option> 386 <option387 defaultValue="true"388 name="%RTEMS.C.Linker.Shared.Libgcc"389 category="gnu.c.link.category.shared"390 command="-shared-libgcc"391 id="rtems.gnu.c.link.option.shared.libgcc"392 valueType="boolean">393 </option>394 <outputType395 id="cdt.managedbuild.tool.gnu.c.linker.rtems.so.output.base"396 superClass="cdt.managedbuild.tool.gnu.c.linker.output.so"397 outputs="dll">398 </outputType>399 386 </tool> 400 387 … … 579 566 </option> 580 567 <option 581 defaultValue="-qrtems -D_REENTRANT" 582 id="rtems.gnu.cpp.link.option.other.flags" 583 superClass="gnu.cpp.link.option.flags"> 584 </option> 585 <option 586 defaultValue="true" 587 name="%RTEMS.CPP.Linker.Shared.Libgcc" 588 category="gnu.cpp.link.category.shared" 589 command="-shared-libgcc" 590 id="rtems.gnu.cpp.link.option.shared.libgcc" 591 valueType="boolean"> 592 </option> 568 defaultValue="-qrtems" 569 id="rtems.gnu.cpp.link.option.ldflags" 570 superClass="gnu.c.link.option.ldflags"> 571 </option> 593 572 594 <outputType595 id="cdt.managedbuild.tool.gnu.cpp.linker.rtems.so.output.base"596 superClass="cdt.managedbuild.tool.gnu.cpp.linker.output.so"597 outputs="dll">598 </outputType>599 573 </tool> 600 574 … … 745 719 projectType="org.eclipse.cdt.build.core.buildArtefactType.exe"> 746 720 </template> 721 <template 722 filterPattern=".*" 723 id="org.rtems.cdt.toolchain.templates.hello" 724 location="$nl$/templates/hello/template.xml" 725 projectType="org.eclipse.cdt.build.core.buildArtefactType.exe"> 726 </template> 747 727 </extension> 748 728 … … 755 735 </toolChain> 756 736 </template> 737 <template 738 id="org.rtems.cdt.toolchain.templates.hello"> 739 <toolChain 740 id="cdt.managedbuild.toolchain.gnu.rtems.base"> 741 </toolChain> 742 </template> 757 743 </extension> 758 744 -
org.rtems.cdt.toolchain/src/org/rtems/cdt/toolchain/RtemsScannerInfoCollector.java
r235b60c rf124b04 73 73 String bspSymbols = System.getenv(ENV_RTEMS_BSP_DEFINED_SYMBOLS); 74 74 // e.g., "STDC_HEADERS,HAVE_SYS_TYPES_H,HAVE_SYS_STAT_H,HAVE_STDLIB_H..." 75 if (bspSymbols != null) { 75 //NOTE: it's insufficient to test for a non-null string, thus the test for length>0 76 if (bspSymbols != null && bspSymbols.length() > 0) { 76 77 String[] macro = bspSymbols.split(","); 77 78 for (int i=0; i<macro.length; i++) {
Note: See TracChangeset
for help on using the changeset viewer.