ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
930 B

  1. # Filename: xxx.sh
  2. # Purpose: compile source code
  3. # Author: Howard Wulf, AF5NE
  4. # Date: 2015-01-29
  5. # Uasage: implementation defined
  6. # Example:
  7. # cd /sdcard/Download/BASIC/bwbasic-2.62/
  8. # ash ./yyy.sh
  9. #
  10. # cleanup
  11. rm -f bwbasic
  12. rm -f *.o
  13. # for normal compile
  14. # gcc -DHAVE_ISNAN -o bwbasic -lm -ansi -pedantic -Wall -Werror bw*.c
  15. # for broken strpcy()
  16. # gcc -DHAVE_ISNAN -DBROKEN_STRCPY -o bwbasic -lm -ansi -pedantic -Wall -Werror bw*.c
  17. # for regression testing
  18. gcc -DHAVE_ISNAN -DAUTOMATED_REGRESSION -o bwbasic -lm -ansi -pedantic -Wall -Werror bw*.c
  19. # for regression testing with broken strpcy()
  20. # gcc -DHAVE_ISNAN -DAUTOMATED_REGRESSION -DBROKEN_STRCPY -o bwbasic -lm -ansi -pedantic -Wall -Werror bw*.c
  21. # On my system, I have to copy the binary to another location
  22. cp bwbasic ~/
  23. # cleanup
  24. rm -f bwbasic
  25. # make executable
  26. chmod 764 ~/bwbasic
  27. # start exectuable
  28. ~/bwbasic
  29. # EOF