1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 12:40:36 +00:00

Too soon to drop osx...

This commit is contained in:
Fellippe Heitor 2020-02-20 22:02:54 -03:00
parent c22ef3ac96
commit 5860026d79
7 changed files with 13 additions and 13 deletions

View file

@ -1,3 +1,3 @@
setup_macos.command setup_macos.command
internal/c/c_compiler internal/c/c_compiler
qb64_start_macos.command qb64_start_osx.command

View file

@ -1,4 +1,4 @@
setup_lnx.sh setup_lnx.sh
setup_macos.command setup_osx.command
qb64_start_macos.command qb64_start_osx.command
secure-file secure-file

View file

@ -14,7 +14,7 @@ find . -type f -iname "*.a" -exec rm -f {} \;
find . -type f -iname "*.o" -exec rm -f {} \; find . -type f -iname "*.o" -exec rm -f {} \;
rm ./internal/temp/* rm ./internal/temp/*
if [ -z "$(which clang)" ]; then if [ -z "$(which clang++)" ]; then
echo "Apple's C++ compiler not found." echo "Apple's C++ compiler not found."
echo "Attempting to install Apple's Command Line Tools for Xcode..." echo "Attempting to install Apple's Command Line Tools for Xcode..."
echo "After installation is finished, run this setup script again." echo "After installation is finished, run this setup script again."

View file

@ -48,7 +48,7 @@ IF _DIREXISTS("internal") = 0 THEN
PRINT "QB64 cannot locate the 'internal' folder" PRINT "QB64 cannot locate the 'internal' folder"
PRINT PRINT
PRINT "Check that QB64 has been extracted properly." PRINT "Check that QB64 has been extracted properly."
PRINT "For macOS, launch 'qb64_start_macos.command' or enter './qb64' in Terminal." PRINT "For MacOSX, launch 'qb64_start.command' or enter './qb64' in Terminal."
PRINT "For Linux, in the console enter './qb64'." PRINT "For Linux, in the console enter './qb64'."
DO DO
_LIMIT 1 _LIMIT 1
@ -12163,7 +12163,7 @@ IF os$ = "LNX" THEN
END IF END IF
IF INSTR(_OS$, "[MACOSX]") THEN IF INSTR(_OS$, "[MACOSX]") THEN
OPEN "./internal/c/makeline_macos.txt" FOR INPUT AS #150 OPEN "./internal/c/makeline_osx.txt" FOR INPUT AS #150
ELSE ELSE
OPEN "./internal/c/makeline_lnx.txt" FOR INPUT AS #150 OPEN "./internal/c/makeline_lnx.txt" FOR INPUT AS #150
END IF END IF
@ -12230,17 +12230,17 @@ IF os$ = "LNX" THEN
IF INSTR(_OS$, "[MACOSX]") THEN IF INSTR(_OS$, "[MACOSX]") THEN
ffh = FREEFILE ffh = FREEFILE
OPEN tmpdir$ + "recompile_macos.command" FOR OUTPUT AS #ffh OPEN tmpdir$ + "recompile_osx.command" FOR OUTPUT AS #ffh
PRINT #ffh, "cd " + CHR_QUOTE + "$(dirname " + CHR_QUOTE + "$0" + CHR_QUOTE + ")" + CHR_QUOTE + CHR$(10); PRINT #ffh, "cd " + CHR_QUOTE + "$(dirname " + CHR_QUOTE + "$0" + CHR_QUOTE + ")" + CHR_QUOTE + CHR$(10);
PRINT #ffh, "echo " + CHR_QUOTE + "Recompiling..." + CHR_QUOTE + CHR$(10); PRINT #ffh, "echo " + CHR_QUOTE + "Recompiling..." + CHR_QUOTE + CHR$(10);
PRINT #ffh, "cd ../c" + CHR$(10); PRINT #ffh, "cd ../c" + CHR$(10);
PRINT #ffh, a$ + CHR$(10); PRINT #ffh, a$ + CHR$(10);
PRINT #ffh, "read -p " + CHR_QUOTE + "Press ENTER to exit..." + CHR_QUOTE + CHR$(10); PRINT #ffh, "read -p " + CHR_QUOTE + "Press ENTER to exit..." + CHR_QUOTE + CHR$(10);
CLOSE ffh CLOSE ffh
SHELL _HIDE "chmod +x " + tmpdir$ + "recompile_macos.command" SHELL _HIDE "chmod +x " + tmpdir$ + "recompile_osx.command"
ffh = FREEFILE ffh = FREEFILE
OPEN tmpdir$ + "debug_macos.command" FOR OUTPUT AS #ffh OPEN tmpdir$ + "debug_osx.command" FOR OUTPUT AS #ffh
PRINT #ffh, "cd " + CHR_QUOTE + "$(dirname " + CHR_QUOTE + "$0" + CHR_QUOTE + ")" + CHR_QUOTE + CHR$(10); PRINT #ffh, "cd " + CHR_QUOTE + "$(dirname " + CHR_QUOTE + "$0" + CHR_QUOTE + ")" + CHR_QUOTE + CHR$(10);
PRINT #ffh, "Pause()" + CHR$(10); PRINT #ffh, "Pause()" + CHR$(10);
PRINT #ffh, "{" + CHR$(10); PRINT #ffh, "{" + CHR$(10);
@ -12257,7 +12257,7 @@ IF os$ = "LNX" THEN
PRINT #ffh, "gdb " + CHR$(34) + path.exe$ + file$ + extension$ + CHR$(34) + CHR$(10); PRINT #ffh, "gdb " + CHR$(34) + path.exe$ + file$ + extension$ + CHR$(34) + CHR$(10);
PRINT #ffh, "Pause" + CHR$(10); PRINT #ffh, "Pause" + CHR$(10);
CLOSE ffh CLOSE ffh
SHELL _HIDE "chmod +x " + tmpdir$ + "debug_macos.command" SHELL _HIDE "chmod +x " + tmpdir$ + "debug_osx.command"
ELSE ELSE
@ -12507,7 +12507,7 @@ FUNCTION ParseCMDLineArgs$ ()
CHDIR "./internal/c" CHDIR "./internal/c"
IF INSTR(_OS$, "[MACOSX]") THEN IF INSTR(_OS$, "[MACOSX]") THEN
SHELL _HIDE "./purge_all_precompiled_content_macos.command" SHELL _HIDE "./purge_all_precompiled_content_osx.command"
ELSE ELSE
SHELL _HIDE "./purge_all_precompiled_content_lnx.sh" SHELL _HIDE "./purge_all_precompiled_content_lnx.sh"
END IF END IF
@ -12555,7 +12555,7 @@ FUNCTION ParseCMDLineArgs$ ()
CHDIR "./internal/c" CHDIR "./internal/c"
IF INSTR(_OS$, "[MACOSX]") THEN IF INSTR(_OS$, "[MACOSX]") THEN
SHELL _HIDE "./purge_all_precompiled_content_macos.command" SHELL _HIDE "./purge_all_precompiled_content_osx.command"
ELSE ELSE
SHELL _HIDE "./purge_all_precompiled_content_lnx.sh" SHELL _HIDE "./purge_all_precompiled_content_lnx.sh"
END IF END IF
@ -12575,7 +12575,7 @@ FUNCTION ParseCMDLineArgs$ ()
CHDIR "./internal/c" CHDIR "./internal/c"
IF INSTR(_OS$, "[MACOSX]") THEN IF INSTR(_OS$, "[MACOSX]") THEN
SHELL _HIDE "./purge_all_precompiled_content_macos.command" SHELL _HIDE "./purge_all_precompiled_content_osx.command"
ELSE ELSE
SHELL _HIDE "./purge_all_precompiled_content_lnx.sh" SHELL _HIDE "./purge_all_precompiled_content_lnx.sh"
END IF END IF