Package net.sf.antcontrib.cpptasks.arm
Class ADSCCompiler
Adapter for the ARM C Compilers
See Doc No: ARM DUI 0151A, Issued: Nov 2001 at
http://www.arm.com/arm/User_Guides?OpenDocument
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ADSCCompiler
Singleton for ARM 32-bit C compilerprivate static final ADSCCompiler
Singleton for ARM 32-bit C++ compilerprivate static final String[]
Header file extensionsprivate static final String[]
Source file extensionsprivate static final ADSCCompiler
Singleton for ARM 16-bit C compilerprivate static final ADSCCompiler
Singleton for ARM 16-bit C++ compilerFields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ADSCCompiler
(String command, boolean newEnvironment, org.apache.tools.ant.types.Environment env) Private constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addImpliedArgs
(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) protected void
addWarningSwitch
(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 ADSCCompiler
getArmCC()
Singleton for ARM 32-bit C compilerstatic ADSCCompiler
Singleton for ARM 32-bit C++ compilerprotected void
getDefineSwitch
(StringBuffer buffer, String define, String value) Add command line options for preprocessor macroprotected File[]
ARMINC environment variable contains the default include pathprotected String
getIncludeDirSwitch
(String source) Returns command line option to specify include directoryGets the linker that is associated with this processorsint
Maximum command line lengthstatic ADSCCompiler
Singleton for ARM 16-bit C compilerstatic ADSCCompiler
Singleton for ARM 16-bit C++ compilerprotected void
getUndefineSwitch
(StringBuffer buffer, String define) private static void
quoteFile
(StringBuffer buf, String outPath) 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
-
Field Details
-
headerExtensions
Header file extensions -
sourceExtensions
Source file extensions -
armcc
Singleton for ARM 32-bit C compiler -
armcpp
Singleton for ARM 32-bit C++ compiler -
tcc
Singleton for ARM 16-bit C compiler -
tcpp
Singleton for ARM 16-bit C++ compiler
-
-
Constructor Details
-
ADSCCompiler
private ADSCCompiler(String command, boolean newEnvironment, org.apache.tools.ant.types.Environment env) Private constructor- Parameters:
command
- executable namenewEnvironment
- Change environmentenv
- New environment
-
-
Method Details
-
getArmCC
Singleton for ARM 32-bit C compiler -
getArmCpp
Singleton for ARM 32-bit C++ compiler -
getThumbCC
Singleton for ARM 16-bit C compiler -
getThumbCpp
Singleton for ARM 16-bit C++ compiler -
quoteFile
-
addImpliedArgs
protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization) - Specified by:
addImpliedArgs
in classCommandLineCompiler
-
addWarningSwitch
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:
addWarningSwitch
in classCommandLineCompiler
- See Also:
-
getDefineSwitch
Add command line options for preprocessor macro- Specified by:
getDefineSwitch
in classCommandLineCompiler
- See Also:
-
getEnvironmentIncludePath
ARMINC environment variable contains the default include path- Specified by:
getEnvironmentIncludePath
in classCommandLineCompiler
- See Also:
-
getIncludeDirSwitch
Returns command line option to specify include directory- Specified by:
getIncludeDirSwitch
in classCommandLineCompiler
-
getLinker
Description copied from interface:Processor
Gets the linker that is associated with this processors -
getMaximumCommandLength
public int getMaximumCommandLength()Maximum command line length- Specified by:
getMaximumCommandLength
in classCommandLineCompiler
- See Also:
-
getUndefineSwitch
- Specified by:
getUndefineSwitch
in classCommandLineCompiler
-