diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java | 2 | ||||
-rw-r--r-- | src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java b/src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java index f9e4c0b..3497aaf 100644 --- a/src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java +++ b/src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java @@ -255,7 +255,9 @@ public final class GccCCompiler extends GccCompatibleCCompiler { public Linker getLinker(LinkType linkType) { return GccLinker.getInstance().getLinker(linkType); } + // BEGINFREEHEP public int getMaximumCommandLength() { return isWindows() ? 20000 : Integer.MAX_VALUE; } + // ENDFREEHEP } diff --git a/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java b/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java index 27ffea0..41a736b 100644 --- a/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java +++ b/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java @@ -235,7 +235,7 @@ public class TestAbstractLdLinker extends TestCase { Vector endargs = new Vector(); String[] rc = linker.addLibrarySets(task, sets, preargs, midargs, endargs); - for (int i=0; i<endargs.size(); i++) System.err.println(endargs.get( i )); +// for (int i=0; i<endargs.size(); i++) System.err.println(endargs.get( i )); // NAR-103 // BEGINFREEHEP if (System.getProperty("os.name").equals("Mac OS X")) { |