1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-02 03:50:36 +00:00

And now we try to please *nix systems.

This commit is contained in:
FellippeHeitor 2017-10-22 17:40:59 -02:00
parent f223cfe028
commit 1113a11107

View file

@ -23224,6 +23224,8 @@ END IF
END SUB
SUB Build (path$)
previous_dir$ = _CWD$
'Count the separators in the path
depth = 1
FOR x = 1 TO LEN(path$)
@ -23251,14 +23253,17 @@ DO UNTIL EOF(bfh)
IF os$ = "WIN" THEN
SHELL _HIDE "cmd /C " + c$ + " 2>> " + return_path$ + "\" + compilelog$
ELSE
SHELL _HIDE c$ + " 2>> " + return_path$ + "/" + compilelog$
SHELL _HIDE c$ + " 2>> " + previous_dir$ + "/" + compilelog$
END IF
END IF
LOOP
CLOSE #bfh
CHDIR return_path$
IF os$ = "WIN" THEN
CHDIR return_path$
ELSE
CHDIR previous_dir$
END IF
END SUB
FUNCTION GDB_Fix$ (g_command$) 'edit a gcc/g++ command line to include debugging info