Package net.sf.antcontrib.cpptasks.arm
Class ADSCCompiler
- java.lang.Object
-
public class ADSCCompiler extends CommandLineCCompiler
Adapter for the ARM C Compilers See Doc No: ARM DUI 0151A, Issued: Nov 2001 at http://www.arm.com/arm/User_Guides?OpenDocument- Author:
- Curt Arnold
-
-
Field Summary
-
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)protected voidaddWarningSwitch(java.util.Vector args, int warnings)Adds flags that customize the warnings reported Compiler does not appear to have warning levels but ability to turn off specific errors by explicit switches, could fabricate levels by prioritizing errors.static ADSCCompilergetArmCC()Singleton for ARM 32-bit C compilerstatic ADSCCompilergetArmCpp()Singleton for ARM 32-bit C++ compilerprotected voidgetDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)Add command line options for preprocessor macroprotected java.io.File[]getEnvironmentIncludePath()ARMINC environment variable contains the default include pathprotected java.lang.StringgetIncludeDirSwitch(java.lang.String source)Returns command line option to specify include directoryLinkergetLinker(LinkType type)Gets the linker that is associated with this processorsintgetMaximumCommandLength()Maximum command line lengthstatic ADSCCompilergetThumbCC()Singleton for ARM 16-bit C compilerstatic ADSCCompilergetThumbCpp()Singleton for ARM 16-bit C++ compilerprotected voidgetUndefineSwitch(java.lang.StringBuffer buffer, java.lang.String define)-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCCompiler
createParser
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.antcontrib.cpptasks.compiler.Processor
bid, changeEnvironment
-
-
-
-
Method Detail
-
getArmCC
public static ADSCCompiler getArmCC()
Singleton for ARM 32-bit C compiler
-
getArmCpp
public static ADSCCompiler getArmCpp()
Singleton for ARM 32-bit C++ compiler
-
getThumbCC
public static ADSCCompiler getThumbCC()
Singleton for ARM 16-bit C compiler
-
getThumbCpp
public static ADSCCompiler getThumbCpp()
Singleton for ARM 16-bit C++ compiler
-
addImpliedArgs
protected void addImpliedArgs(java.util.Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, java.lang.Boolean rtti, OptimizationEnum optimization)- Specified by:
addImpliedArgsin classCommandLineCompiler
-
addWarningSwitch
protected void addWarningSwitch(java.util.Vector args, int warnings)Adds flags that customize the warnings reported Compiler does not appear to have warning levels but ability to turn off specific errors by explicit switches, could fabricate levels by prioritizing errors.- Specified by:
addWarningSwitchin classCommandLineCompiler- See Also:
CommandLineCompiler.addWarningSwitch(java.util.Vector, int)
-
getDefineSwitch
protected void getDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)Add command line options for preprocessor macro- Specified by:
getDefineSwitchin classCommandLineCompiler- See Also:
CommandLineCompiler.getDefineSwitch(java.lang.StringBuffer, java.lang.String, java.lang.String)
-
getEnvironmentIncludePath
protected java.io.File[] getEnvironmentIncludePath()
ARMINC environment variable contains the default include path- Specified by:
getEnvironmentIncludePathin classCommandLineCompiler- See Also:
CommandLineCompiler.getEnvironmentIncludePath()
-
getIncludeDirSwitch
protected java.lang.String getIncludeDirSwitch(java.lang.String source)
Returns command line option to specify include directory- Specified by:
getIncludeDirSwitchin classCommandLineCompiler
-
getLinker
public Linker getLinker(LinkType type)
Description copied from interface:ProcessorGets the linker that is associated with this processors
-
getMaximumCommandLength
public int getMaximumCommandLength()
Maximum command line length- Specified by:
getMaximumCommandLengthin classCommandLineCompiler- See Also:
CommandLineCompiler.getMaximumCommandLength()
-
getUndefineSwitch
protected void getUndefineSwitch(java.lang.StringBuffer buffer, java.lang.String define)- Specified by:
getUndefineSwitchin classCommandLineCompiler
-
-