net.sf.antcontrib.cpptasks.gcc
public class GccProcessor extends Object
| Method Summary | |
|---|---|
| static void | convertCygwinFilenames(String[] names)
Converts absolute Cygwin file or directory names to the corresponding
Win32 name.
|
| static String[] | getLibraryPatterns(String[] libnames) |
| static String | getMachine() |
| static String[] | getOutputFileSwitch(String letter, String outputFile) |
| static String[] | getSpecs()
Returns the contents of the gcc specs file.
|
| static String | getVersion() |
| static boolean | isCaseSensitive() |
| static boolean | isCygwin()
Determines if task is running with cygwin
|
| static String[][] | parseSpecs(String[] specsContent, String specSectionStart, String[] options)
Parses the results of the specs file for a specific processor and
options
|
Parameters: names array of names, some elements may be null, will be changed in place.
Returns: contents of the specs file
Returns: true if cygwin was detected
Parameters: specsContent Contents of specs file as returned from getSpecs specSectionStart start of spec section, for example "*cpp:" options command line switches such as "-istart"