net.sf.antcontrib.cpptasks.arm

Class ADSCCompiler

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

Method Summary
protected voidaddImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
protected voidaddWarningSwitch(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 compiler
static ADSCCompilergetArmCpp()
Singleton for ARM 32-bit C++ compiler
protected voidgetDefineSwitch(StringBuffer buffer, String define, String value)
Add command line options for preprocessor macro
protected File[]getEnvironmentIncludePath()
ARMINC environment variable contains the default include path
protected StringgetIncludeDirSwitch(String source)
Returns command line option to specify include directory
LinkergetLinker(LinkType type)
intgetMaximumCommandLength()
Maximum command line length
static ADSCCompilergetThumbCC()
Singleton for ARM 16-bit C compiler
static ADSCCompilergetThumbCpp()
Singleton for ARM 16-bit C++ compiler
protected voidgetUndefineSwitch(StringBuffer buffer, String define)

Method Detail

addImpliedArgs

protected void addImpliedArgs(Vector args, boolean debug, boolean multithreaded, boolean exceptions, LinkType linkType, Boolean rtti, OptimizationEnum optimization)
{@inheritDoc }

addWarningSwitch

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.

See Also: CommandLineCompiler

getArmCC

public static ADSCCompiler getArmCC()
Singleton for ARM 32-bit C compiler

getArmCpp

public static ADSCCompiler getArmCpp()
Singleton for ARM 32-bit C++ compiler

getDefineSwitch

protected void getDefineSwitch(StringBuffer buffer, String define, String value)
Add command line options for preprocessor macro

See Also: CommandLineCompiler

getEnvironmentIncludePath

protected File[] getEnvironmentIncludePath()
ARMINC environment variable contains the default include path

See Also: getEnvironmentIncludePath

getIncludeDirSwitch

protected String getIncludeDirSwitch(String source)
Returns command line option to specify include directory

getLinker

public Linker getLinker(LinkType type)

getMaximumCommandLength

public int getMaximumCommandLength()
Maximum command line length

See Also: getMaximumCommandLength

getThumbCC

public static ADSCCompiler getThumbCC()
Singleton for ARM 16-bit C compiler

getThumbCpp

public static ADSCCompiler getThumbCpp()
Singleton for ARM 16-bit C++ compiler

getUndefineSwitch

protected void getUndefineSwitch(StringBuffer buffer, String define)
Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.