Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/batch-file/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Batch file 安装Win builds Project时如何在yypkg for sherpa.exe中设置代理信息_Batch File_Gcc - Fatal编程技术网

Batch file 安装Win builds Project时如何在yypkg for sherpa.exe中设置代理信息

Batch file 安装Win builds Project时如何在yypkg for sherpa.exe中设置代理信息,batch-file,gcc,Batch File,Gcc,我正在尝试使用“WinBuilds项目”在Windows7上安装最新的GCC编译器。因为我工作的公司有代理人。当我运行命令win-install.bat时。我有一个错误: http://win-builds.org/1.3.0/packages/windows_64/package_list.el: 2014-02-21 11:39:44 ERROR 407: Proxy Authentication Required. 在批处理文件中,我找到了以下代码: yypkg -init yypkg

我正在尝试使用“WinBuilds项目”在Windows7上安装最新的GCC编译器。因为我工作的公司有代理人。当我运行命令win-install.bat时。我有一个错误:

http://win-builds.org/1.3.0/packages/windows_64/package_list.el:
2014-02-21 11:39:44 ERROR 407: Proxy Authentication Required.
在批处理文件中,我找到了以下代码:

yypkg -init
yypkg -config -setpreds host=%_YY_ARCH%-w64-mingw32
yypkg -config -setpreds target=%_YY_ARCH%-w64-mingw32
sherpa -set-mirror http://win-builds.org/1.3.0/packages/windows_%_YY_BITS%
我认为yypkg.exe会进行初始化工作,配置sherpa并让sherpa.exe下载和安装文件


我的问题是如何配置yypkg我的用户名和密码?我在谷歌上搜索过,但我找不到任何关于yypkg的信息,也找不到如何配置夏尔巴的信息。

[enter code here][1]
可以通过命令行完成代理设置

需要在“cmd.exe”上输入这些命令片段,并在运行wget之前,通过便携式wget手动下载文件,如第页所述:

手动下载包并运行“yypkg-1.5.0.exe”后,没有几个重要的指针

  • 首先,应用程序UI没有响应,请不要关闭它 一段时间后,会出现“更改镜像”对话框,您需要在其中键入/粘贴本地文件夹位置(这是手动下载文件的文件夹)

  • 本地文件夹路径需要类似于“package_list.el.tar.xz”文件所在的以下路径。 file:///C:/usr/MinGW/1.5.0/packages/windows_64

  • 在那之后一切都很好

      set http_proxy=http://your_proxy:your_port
      set http_proxy=http://username:password@your_proxy:your_port
      set https_proxy=https://your_proxy:your_port
      set https_proxy=https://username:password@your_proxy:your_port