Click here to Skip to main content
15,867,568 members
Home / Discussions / Linux Programming
   

Linux Programming

 
GeneralRe: Cross compilation mystery Pin
k50544-Feb-20 6:53
mvek50544-Feb-20 6:53 
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan4-Feb-20 7:32
mveRichard MacCutchan4-Feb-20 7:32 
GeneralRe: Cross compilation mystery Pin
k50544-Feb-20 8:11
mvek50544-Feb-20 8:11 
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan4-Feb-20 8:43
mveRichard MacCutchan4-Feb-20 8:43 
GeneralRe: Cross compilation mystery Pin
k50544-Feb-20 8:53
mvek50544-Feb-20 8:53 
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan4-Feb-20 9:00
mveRichard MacCutchan4-Feb-20 9:00 
GeneralRe: Cross compilation mystery Pin
fd97504-Feb-20 21:58
professionalfd97504-Feb-20 21:58 
AnswerRe: Cross compilation mystery Pin
fd97504-Feb-20 22:36
professionalfd97504-Feb-20 22: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 MacCutchan4-Feb-20 23:08
mveRichard MacCutchan4-Feb-20 23:08 
QuestionHow to Use SCP Command to Transfer Files/Folders in Linux Pin
Akash Kulkarni20-Jan-20 1:52
Akash Kulkarni20-Jan-20 1:52 
SuggestionRe: How to Use SCP Command to Transfer Files/Folders in Linux Pin
User 275346914-Mar-23 13:57
User 275346914-Mar-23 13:57 
QuestionCross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975015-Jan-20 3:37
professionalfd975015-Jan-20 3:37 
AnswerRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
Eddy Vluggen15-Jan-20 3:45
professionalEddy Vluggen15-Jan-20 3:45 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975015-Jan-20 4:01
professionalfd975015-Jan-20 4:01 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
Eddy Vluggen15-Jan-20 6:08
professionalEddy Vluggen15-Jan-20 6:08 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
k505415-Jan-20 7:52
mvek505415-Jan-20 7:52 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975015-Jan-20 20:42
professionalfd975015-Jan-20 20:42 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975022-Jan-20 3:30
professionalfd975022-Jan-20 3:30 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
k505424-Jan-20 6:37
mvek505424-Jan-20 6:37 
GeneralOT Pin
Richard MacCutchan24-Jan-20 9:09
mveRichard MacCutchan24-Jan-20 9:09 
GeneralRe: OT Pin
k505425-Jan-20 5:27
mvek505425-Jan-20 5:27 
GeneralRe: OT Pin
Richard MacCutchan25-Jan-20 5:55
mveRichard MacCutchan25-Jan-20 5:55 
GeneralRe: OT Pin
k505425-Jan-20 6:29
mvek505425-Jan-20 6:29 
AnswerRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
Vaclav_4-Mar-20 5:29
Vaclav_4-Mar-20 5:29 
QuestionHow add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
Ngoc tuan nguyen18-Dec-19 17:29
Ngoc tuan nguyen18-Dec-19 17:29 

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.