harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov" <alexei.fedo...@gmail.com>
Subject Re: [general][build WXP]: getMaximumCommandLength() seems not fixed in cpptasks version 1.0b4
Date Mon, 03 Mar 2008 17:23:23 GMT
Hello Francis,
Does it mean that the Wiki page should be updated with 32767?

Thanks!

On Mon, Mar 3, 2008 at 7:37 PM, Francis ANDRE <francis.andre@easynet.fr> wrote:
> Hi Harmony Team,
>
>   From the WiKi, one said about the error: "Command line is over maximum length
>  without specifying source file" and gave the following fix:
>
>  getMaximumCommandLength() { return 65535;}
>  The issue was fixed in cpptasks version 1.0b4.
>
>
>  but in cpptasks version 1.0b4/DevStudioCCompiler.java, the
>  getMaximumCommandLength() returns 32767!!
>
>
>  Regards
>
>  Francis
>
>
>  PS: source of DevStudioCCompiler in cpptasks version 1.0b4
>
>  public final class DevStudioCCompiler extends DevStudioCompatibleCCompiler {
>      private static final DevStudioCCompiler instance = new DevStudioCCompiler(
>              "cl", false, null);
>      public static DevStudioCCompiler getInstance() {
>          return instance;
>      }
>      private DevStudioCCompiler(String command, boolean newEnvironment,
>              Environment env) {
>          super(command, "/bogus", newEnvironment, env);
>      }
>      public Processor changeEnvironment(boolean newEnvironment, Environment env) {
>          if (newEnvironment || env != null) {
>              return new DevStudioCCompiler(getCommand(), newEnvironment, env);
>          }
>          return this;
>      }
>      public Linker getLinker(LinkType type) {
>          return DevStudioLinker.getInstance().getLinker(type);
>      }
>      public int getMaximumCommandLength() {
>          return 32767;
>      }
>  }
>



-- 
With best regards,
Alexei

Mime
View raw message