Closed dr-oaab closed 2 years ago
When I tried to build the initialized amiga project I got the following error
> Executing task: c:\Users\david\.vscode\extensions\bartmanabyss.amiga-debug-1.4.0\bin\gnumake.exe -j4 < Compiling main.c Compiling support/gcc8_c_support.c Assembling support/gcc8_a_support.s Assembling support/depacker_doynax.s /usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"' /usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"' /usr/bin/sh: -c: line 1: syntax error: unexpected end of file /usr/bin/sh: -c: line 1: syntax error: unexpected end of file gnumake: *** [Makefile:51: obj/main.o] Error 1 gnumake: *** Waiting for unfinished jobs.... gnumake: *** [Makefile:51: obj/gcc8_c_support.o] Error 1 AsAsesmsbelmebrl emre smseasgseasg:e sF:a tFaalt aelr reorrr:o rc:a nc'atn 'ctr ecarteea toeb jo/bdje/pgaccck8e_ra__dsouypnpaoxr.to.:o :N oN os uscuhc hf ifliel eo ro rd idriercetcotroyr y gnumake: *** [Makefile:57: obj/depacker_doynax.o] Error 1 gnumake: *** [Makefile:57: obj/gcc8_a_support.o] Error 1 The terminal process "C:\WINDOWS\System32\cmd.exe /d /c c:\Users\david\.vscode\extensions\bartmanabyss.amiga-debug-1.4.0\bin\gnumake.exe -j4" terminated with exit code: 2.
I think this is because Git on my system has its tools in path, and gnumake somehow finds sh and tries to use it to execute the commands in Makefile.
sh
Adding SHELL = cmd.exe to the beginning of Makefile resolves the issue.
SHELL = cmd.exe
Glad you figured it out. I will add that fix to the next version.
When I tried to build the initialized amiga project I got the following error
I think this is because Git on my system has its tools in path, and gnumake somehow finds
sh
and tries to use it to execute the commands in Makefile.