Skip to content

Please help me building BaCon on MSYS2 #3960

Answered by sskras
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

I traced the make run:

$ make --trace
Makefile:176: update target 'clean' due to: target does not exist
rm -f build/* build-cpp/*
Makefile:25: update target 'bacon' due to: target does not exist
if [ -n "" ]; then \
        /bin/bash ./bacon.sh -c "gcc -std=gnu99" -o "-g -O2" -l "" -d build bacon.bac; \
else \
        /bin/bash ./bacon.sh -c "gcc -std=gnu99" -o "-g -O2" -d build bacon.bac; \
fi;
System error: Windows file detected! Remove non-Unix CR line separators first. Exiting...
make: *** [Makefile:25: bacon] Error 1

Seemingly the else branch is failing here.
So I traced it by adding -x to the command line:

$ rm -f build/* build-cpp/*; /bin/bash -x ./bacon.sh -c "gcc -std=gnu99" -o …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

@sskras
Comment options

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant