From: Curt A. <ca...@us...> - 2003-07-24 04:20:23
|
Update of /cvsroot/ant-contrib/cpptasks/src/net/sf/antcontrib/cpptasks/borland In directory sc8-pr-cvs1:/tmp/cvs-serv30197/src/net/sf/antcontrib/cpptasks/borland Modified Files: BorlandProcessor.java BorlandLinker.java Log Message: Initial stab at ARM and TI compilers Index: BorlandProcessor.java =================================================================== RCS file: /cvsroot/ant-contrib/cpptasks/src/net/sf/antcontrib/cpptasks/borland/BorlandProcessor.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** BorlandProcessor.java 7 Feb 2003 11:55:13 -0000 1.13 --- BorlandProcessor.java 24 Jul 2003 04:20:09 -0000 1.14 *************** *** 191,198 **** public static String[] getOutputFileSwitch(String outFile) { ! StringBuffer buf = new StringBuffer("-fo"); ! quoteFile(buf,outFile); ! String[] retval = new String[] { buf.toString() }; ! return retval; } --- 191,195 ---- public static String[] getOutputFileSwitch(String outFile) { ! return new String[0]; } Index: BorlandLinker.java =================================================================== RCS file: /cvsroot/ant-contrib/cpptasks/src/net/sf/antcontrib/cpptasks/borland/BorlandLinker.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** BorlandLinker.java 7 Feb 2003 11:55:13 -0000 1.15 --- BorlandLinker.java 24 Jul 2003 04:20:09 -0000 1.16 *************** *** 76,80 **** private BorlandLinker(String outputSuffix) { ! super("ilink32", "/bogus", new String[] { ".obj", ".lib",".res" }, new String[] { ".map", ".pdb", ".lnk" }, outputSuffix, false, null); --- 76,80 ---- private BorlandLinker(String outputSuffix) { ! super("ilink32", "-r", new String[] { ".obj", ".lib",".res" }, new String[] { ".map", ".pdb", ".lnk" }, outputSuffix, false, null); *************** *** 343,346 **** --- 343,352 ---- return BorlandProcessor.isCaseSensitive(); } + + public String getIdentifier() { + return "Borland Linker"; + + } + } |