msys

How to build OpenSSL with MinGW in Windows? [closed]

旧巷老猫 提交于 2019-11-28 17:01:37
I want to build OpenSSL in Windows with MinGW, How can I do that? Please help me. Thanks. This is an extract from a personal how-to I wrote. It has since been transformed to a script (look at the OpenSSL section, obviously). It assumes you have a working installation of MinGW and that you have a working MSys console. OpenSSL To build OpenSSL, you need a working Perl installation . Download OpenSSL from its official website and decompress the archive. Windows 32/64 bits - MinGW You must run these commands from a MSys console. For 32 bits: perl Configure mingw no-shared no-asm --prefix=/c

Package management in git for windows?

依然范特西╮ 提交于 2019-11-28 16:42:42
问题 I'm reading wiki on github for git and it says that msys2 bundles pacman: https://github.com/git-for-windows/git/wiki/Package-management But when i'm invoking it: $ pacman bash: pacman: command not found Does anyone has an idea what is going on? To which git version this wiki refers? Is there a way to install additional packages to msys2 inside Git for windows? 回答1: As mentioned in issue 397: This is intended. We do not ship pacman with Git for Windows. If you are interested in a fully

msys not flushing output

房东的猫 提交于 2019-11-28 11:28:26
问题 I'm using mingw with msys and mintty on windows. I have a problem that msys and mintty are somehow not flushing output until a command is finished. This means I can't really run any interactive programs. For example, if I have in C : printf("Test\n"); the output won't appear until the program has terminated. However, if I have: printf("Test\n"); fflush(stdout); then the output appears immediately. If I use msys without mintty or the windows console, then everything works normally. So my

`msbuild` command not found, but `msbuild.exe` works fine

我们两清 提交于 2019-11-28 08:14:22
问题 I run MSys/Bash as distributed in Git for Windows. I added the folder C:\Windows\Microsoft.NET\Framework\v4.0.30319 to my path, so I could run msbuild but it doesn't work $ msbuild C:\Program Files (x86)\Git\bin\sh.exe: msbuild: command not found Yet msbuild.exe does: $ msbuild.exe Microsoft (R) Build Engine version 4.0.30319.17929 Yet the command explorer resolves fine. What's going on? 回答1: It's a bug in MSys where the same name is shared by a folder and a file (minus the extension). In

Does the current version of msysgit support process substitution?

旧街凉风 提交于 2019-11-27 18:04:55
问题 Under my version of msysgit, I can't use process substitution. cat <(echo 'foo') sh.exe": cannot make pipe for process substitution: Function not implemented If I upgraded to the latest version of msysgit, would its version of msys / mingw be able to handle process substitution? My current version of msysgit is 1.7.0.2.msysgit.0 and GNU bash is version 3.1.0(3)-release (i686-pc-msys). 回答1: Afraid this is still a no as of 1.7.6.msysgit.0 which has Bash 3.1.0(1). bash-3.1$ bash --version bash -

msys path conversion (or cygpath for msys?)

左心房为你撑大大i 提交于 2019-11-27 11:55:23
I need to pass /DEF:c:\filepath\myLib.def" command line option from a bash script to MS compiler/linker. The path is generated as part of build process by a bash script. Basically, the argument that my script passes is: -DEF:/c/filepath/myLib.def MSYS path conversion can't handle it properly because it doesn't understand /DEF: part. It works if I do -DEF=/c/filepath/myLib.def but then ms tools don't understand this parameter. In short, what's the proper way to write that parameter in MSYS bash so that it converts it to proper argument? On cygwin I could use cygpath, but there is no equivalent,

Git Bash Shell fails to create symbolic links

孤者浪人 提交于 2019-11-27 10:47:15
When I try to create a symbolic link from the Git Bash shell, it fails every time all the time: $ ln -s /c/Users/bzisad0/Work testlink ln: creating symbolic link `testlink' to `/c/Users/bzisad0/Work': Permission denied The only thing it does, besides give the error message, is create an empty directory named (in this case) testlink . I don't see any problem with the ln executable. For instance, it is owned by me and marked as executable: $ which ln /bin/ln $ ls -hal /bin/ln -rwxr-xr-x 1 BZISAD0 Administ 71k Sep 5 11:55 /bin/ln I also own the current directory ( ~ , which is /c/Users/bzisad0 ):

mingw32环境上静态编译 dav1d 0.4.0

喜欢而已 提交于 2019-11-27 10:01:11
2019-08-05 发布 dav1d 0.4.0 dav1d 0.4.0 'Cheetah', the fast and small AV1 decoder This is the fourth major release of dav1d, the fast and small AV1 decoder, codename 'Cheetah'. It supports all the AV1 features and all bitdepths. 0.4.0 brings large improvements in speed on ARM64 (up to 25% speedup) and minor improvements on SSE and ARM. It also improves the RAM usage quite significantly, sometimes more than halving the RAM used. mingw32环境上静态编译 dav1d 0.4.0 export CC=/mingw/bin/gcc export CXX=/mingw/bin/g++ meson --prefix "/usr/local" build --buildtype release --default-library static ninja -C

windows平台FFmpeg源码编译

倾然丶 夕夏残阳落幕 提交于 2019-11-27 05:50:53
原因:由于需要对比音频编码效果,自带aac和fkd_aac,mp3lame的差别,故需要进行手动编译FFmpeg并包含fdk_aac,mp3lame. 环境介绍:win7,64bit.vs2015. 准备: 1:安装MinGW: http://www.mingw.org/ (在线安装),也可以选择本地安装( https://sourceforge.net/projects/mingwbundle/ ) 1.1:我选择了在线安装,下载后点击运行,选择了全部安装,右键选择,最后点击Installation按钮下的apply changes. 1.2:配置环境变量:path=C:\MinGW\bin\. 测试cmd gcc -v 2:安装yasm汇编编译器,因为ffmepg中为了提高效率使用到了汇编指令. 2.1: http://yasm.tortall.net/Download.html 选择win64.exe,修改名称为yasm.exe存放到c:/MinGW/msys/1.0/bin目录下. 3:下载pkg-config-0.23-2.zip和依赖库 3.1: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip 3.2: http://ftp.gnome.org

How to install MinGW-w64 and MSYS2?

可紊 提交于 2019-11-26 19:18:14
I am trying to build some open source library. I need package management system to easily download the dependencies. At first I am using MinGW+MSYS . But the included packages are limited. Someone told me to use MinGW-w64 + MSYS2 . I downloaded the mingw-w64-install from here . When running, it reports the following error. How to fix it? And btw, from the MinGW-w64 download page, I see a lot of download links. Even Cygwin is listed. How Cygwin and MinGW-w64 are related? My current understanding is, in the time of MinGW+MSYS , MSYS is just a nice addon to MinGW, while in MinGW-w64 + MSYS2 ,