msys

'make clean' not working

允我心安 提交于 2020-01-03 04:51:30
问题 so I made a makefile for a c program. For some reason my 'clean' is not working. Here's a little bit of my makefile: CC=gcc FLAGS=-c -Wall -I. CLEANC=rm -rf *.o move.o: move.c $(CC) $(FLAGS) move.c /*Lot more codes like this^^^*/ clean: $(CLEANC) When I run 'make clean' in command prompt, I'm shown the following: rm -rf *.o process_begin: CreateProcess(NULL, rm -rf *.o, ...) failed. make (e=2): The system cannot find the file specified. makefile:116: recipe for target 'clean' failed make: ***

Recursively search for files of a given name, and find instances of a particular phrase AND display the path to that file

本小妞迷上赌 提交于 2020-01-01 08:57:47
问题 I have a bunch of folders and subfolders. Each one contains, amongst other things, a text file called index.yml with useful data. I want to search through all of the different index.yml files to find instances of a search string. I must be able to see a few lines of context and the directory of the index.yml file that was found. This almost works, but it doesn't give me the filename: cat `find . -name 'index.yml'`| grep -i -C4 mySearchString How can I do this and get the filename? I am stuck

Error while building Linphone for windows

情到浓时终转凉″ 提交于 2020-01-01 04:31:06
问题 I am trying to build linphone for windows by following the instructions in Readme.mingw using MinGw/Msys. There is no issues till the download of belle-sip package. When I run ./autogen.sh I am getting the below error. Generating buildipts in belle-sip... + libtoolize --copy --force libtoolize: $pkgltdldir is not a directory: `/mingw/share/libtool' + aclocal -I /share/aclocal Can't locate Automake/Config.pm in @INC (@INC contains: /mingw/share/automake-1. 11 /usr/lib/perl5/5.8/msys /usr/lib

Is make no longer included with MinGW and/or MSYS?

谁说胖子不能爱 提交于 2020-01-01 01:53:57
问题 I installed MinGW and MSYS on my Windows 7 computer. I added C:\Program Files (x86)\MinGW\bin to my path. Commands such as gcc and g++ work, but make does not. I looked in the directory, and there is no executable called make , even though I installed all components. There is a file called mingw32-make . There are also other files prefixed with mingw32- , such as c++, g++, gcc, gcc-4.6.1, and gfortran. However, there is a make in C:\Program Files (x86)\MinGW\msys\1.0\bin . If I open the MinGW

Getting mingw-get to install correctly - mingw/msys path missing plus more!

∥☆過路亽.° 提交于 2019-12-30 03:12:25
问题 I'm running windows XP. I have been following this tutorial and so downloading mingw-get-inst here. I've done this a couple times and the last time I checked boes to install EVERYTHING including, but not limited to, gcc, g++, MSYS and the MinGW Compiling Suite. I told it to make a program menu shortcut, too. I believe I have correctly added MinGW/bin to the Environment Settings' Path . So I have the shortcut to the MSYS shell now. It goes to C:\MinGW\msys\1.0\msys.bat, but the whole msys

Convert from MinGW .a to VC++ .lib

依然范特西╮ 提交于 2019-12-29 07:57:07
问题 I have an old library (in C++) that I'm only able to build on MinGW+MSYS32 on Windows. From that I can produce a .a static library file generated from GNU libtool. My primary development is done in Visual Studio 2008. If I try to take the MinGW produced library and link it in Visual Studio, it complains about missing externals. This is most likely due to the C++ symbol mangling that is done, and that it doesn't match whats in the .a file. Is there any know way to convert a static .a file to

GNU Make - terminal rules and keyword “null”

被刻印的时光 ゝ 提交于 2019-12-25 07:19:18
问题 BACKGROUND This is related to my question GNU make - transform every prerequisite into target (implicitly) I've posted this question because it's interesting and may be useful by itself - to understand make - and I don't want it to get lost in the "original" question. INFO I have a file Dummy.mk : %:: null @: null: @: which I pass to my make as make all MAKEFILES=Dummy.mk . When I replace null with saflkjsaflkjdsa , %:: saflkjsaflkjdsa @: saflkjsaflkjdsa: @: the behavior of the build was

Protobuf 3.0.0-alpha-1 not compiling on windows

烈酒焚心 提交于 2019-12-25 04:27:24
问题 I'm trying to compile protobuf 3.0.0 alpha 1 on Windows using MinGW 4.9.2 & MSYS. According to the instructions I'm supposed to: ./configure make make check make install I added --prefix=/c/path/to/mingw to configure (How to build Google's protobuf in Windows using MinGW?) but it didnt help. It fails at make with the message: CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/Markus/protobuf-3.0.0-alpha- 1/missing aclocal-1.14 -I m4 /home/Markus/protobuf-3.0.0-alpha-1/missing: line 81:

CMake is not found when running through make

落爺英雄遲暮 提交于 2019-12-24 07:57:49
问题 I'm trying to build https://github.com/AlbertWerner/cryptonotecoinwallet and facing an issue. According to the README of the repo, I can run cmake command and it completes without any errors. But then, when I run make , it gives me the below error. $ make make: /usr/bin/cmake: Command not found make: *** [Makefile:5138: cmake_check_build_system] Error 127 I'm using MSYS on Windows and here are the corresponding details. $ echo $PATH /usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c

CMake is not found when running through make

蓝咒 提交于 2019-12-24 07:57:13
问题 I'm trying to build https://github.com/AlbertWerner/cryptonotecoinwallet and facing an issue. According to the README of the repo, I can run cmake command and it completes without any errors. But then, when I run make , it gives me the below error. $ make make: /usr/bin/cmake: Command not found make: *** [Makefile:5138: cmake_check_build_system] Error 127 I'm using MSYS on Windows and here are the corresponding details. $ echo $PATH /usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c