从MinGW使用msysGit,反之亦然 [英] Using msysGit from MinGW and vice versa

查看:171
本文介绍了从MinGW使用msysGit,反之亦然的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用git作为我的修订控制系统。为此,我安装了msysGit在MSW上签出我的存储库。现在我想用MinGW编译我的程序,并为我发现这个问题:
当我通过mingw-get安装MinGW和MSYS时,我可以编译我的程序,没有问题。但我不能访问git。当我使用Git Bash时,我可以使用git,但不能编译。



有可能:




  • 将MinGW安装到Git Bash(因为它已经包含msys,不是吗?)或



  • 我希望能更轻松地保持这两个包更新。



    提前感谢:)

    解决方案

    您如何安装Msysgit?您是否在屏幕中选择了第三个选项来请求PATH设置?





    (上图截图: http://ekkescorner.files.wordpress.com/2010/02/git-windows-msysgit-install-3.png 。)



    您必须选择第三个选项,或者第二个选项可能就足够了。



    from my MingW



    无论如何,这是所有关于设置msitgit中的git.exe的正确路径,或者我缺少一些东西?


    I am using git as my revision control system. To do so, I installed msysGit to checkout my repositories on MSW. Now I want to compile my programs with MinGW and found this "problem" for me: When I install MinGW and MSYS via mingw-get I can compile my program, no problem. But I can not access git. When I use the Git Bash, I can work with git, but can not compile.

    Is there any possibility to:

    • install MinGW "into" Git Bash (because it already contains msys, didn't it?) OR
    • to set "links" between both installations to make it work.

    I would prefere the way I can keep both packages up to date more easily.

    Thanks in advance :)

    解决方案

    How did you install Msysgit? Did you choose the third option in the screen where it asks for PATH setup?

    (above screenshot from: http://ekkescorner.files.wordpress.com/2010/02/git-windows-msysgit-install-3.png.)

    You have to choose the third option or even second might suffice.

    Below is screenshot from my MingW

    Anyway, it's all about setting proper path to the git.exe in msysgit, or am I missing something?

    这篇关于从MinGW使用msysGit,反之亦然的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆