Click here to Skip to main content
14,456,076 members

Linux Programming

 
QuestionRunning console apps on windows 7 Pin
fearless_23-Feb-20 21:07
Memberfearless_23-Feb-20 21:07 
AnswerRe: Running console apps on windows 7 Pin
Victor Nijegorodov23-Feb-20 21:45
MemberVictor Nijegorodov23-Feb-20 21:45 
GeneralRe: Running console apps on windows 7 Pin
fearless_23-Feb-20 22:22
Memberfearless_23-Feb-20 22:22 
AnswerRe: Running console apps on windows 7 Pin
Richard MacCutchan23-Feb-20 21:59
communityengineerRichard MacCutchan23-Feb-20 21:59 
GeneralRe: Running console apps on windows 7 Pin
fearless_23-Feb-20 22:21
Memberfearless_23-Feb-20 22:21 
Questiongetting started with ASM, what compilers do you use? Pin
fearless_21-Feb-20 2:47
Memberfearless_21-Feb-20 2:47 
AnswerRe: getting started with ASM, what compilers do you use? Pin
Richard MacCutchan21-Feb-20 2:52
communityengineerRichard MacCutchan21-Feb-20 2:52 
GeneralRe: getting started with ASM, what compilers do you use? Pin
fearless_21-Feb-20 3:40
Memberfearless_21-Feb-20 3:40 
GeneralRe: getting started with ASM, what compilers do you use? Pin
Richard MacCutchan21-Feb-20 4:54
communityengineerRichard MacCutchan21-Feb-20 4:54 
GeneralRe: getting started with ASM, what compilers do you use? Pin
fearless_21-Feb-20 7:39
Memberfearless_21-Feb-20 7:39 
GeneralRe: getting started with ASM, what compilers do you use? Pin
Richard MacCutchan21-Feb-20 7:50
communityengineerRichard MacCutchan21-Feb-20 7:50 
GeneralRe: getting started with ASM, what compilers do you use? Pin
fearless_21-Feb-20 8:04
Memberfearless_21-Feb-20 8:04 
QuestionCross compilation mystery Pin
fd97504-Feb-20 5:53
professionalfd97504-Feb-20 5:53 
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan4-Feb-20 7:14
communityengineerRichard MacCutchan4-Feb-20 7:14 
GeneralRe: Cross compilation mystery Pin
k50544-Feb-20 7:53
Memberk50544-Feb-20 7:53 
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan4-Feb-20 8:32
communityengineerRichard MacCutchan4-Feb-20 8:32 
GeneralRe: Cross compilation mystery Pin
k50544-Feb-20 9:11
Memberk50544-Feb-20 9:11 
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan4-Feb-20 9:43
communityengineerRichard MacCutchan4-Feb-20 9:43 
GeneralRe: Cross compilation mystery Pin
k50544-Feb-20 9:53
Memberk50544-Feb-20 9:53 
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan4-Feb-20 10:00
communityengineerRichard MacCutchan4-Feb-20 10:00 
GeneralRe: Cross compilation mystery Pin
fd97504-Feb-20 22:58
professionalfd97504-Feb-20 22:58 
AnswerRe: Cross compilation mystery Pin
fd97504-Feb-20 23:36
professionalfd97504-Feb-20 23:36 
Hi All,

Based on Richard's first reply I managed to find the solution which is based on some info I found here:

How to force make to use bash as a shell on Windows/MSYS2 - Stack Overflow[^]

It is one of the results I got for this google search: temporary batch file created by make does not work msys2

The reason for that search is that Richard suggested there is an option to ensure that make's output becomes a lot more verbose. The option is -d and it produces a lot more output if you use it.
In that output I noticed that make created a temporary batch file and tried to execute it but failed.
The content of that batch file was this: mkdir -p build/./main/, exactly the error that a standard make call produced.

So: apparently make could not execute the batch files it creates itself so I googled so as to know why and found the result mentioned above.

It suggested I was using the wrong version of make to try and build my application and as it turns out that was exactly what was wrong.

The make I was using was the one that was installed with the toolchain and when you type make -v it reports:
GNU Make 3.82
Built for i686-pc-mingw32

I then used pacman -S make to install the proper make version and that one reports this:
GNU Make 4.3
Built for x86_64-pc-msys


End result: when you run things in the latest mingw64 or mingw32 shell it requires the newer make version built for msys instead of the earlier version which did work in the older version of mingw32 shell. When I use the later version of make Built for x86_64-pc-msys it works like a charm again.
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan5-Feb-20 0:08
communityengineerRichard MacCutchan5-Feb-20 0:08 
QuestionHow to Use SCP Command to Transfer Files/Folders in Linux Pin
Akash Kulkarni20-Jan-20 2:52
MemberAkash Kulkarni20-Jan-20 2:52 
AnswerMessage Closed Pin
20-Jan-20 2:55
MemberAkash Kulkarni20-Jan-20 2:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.