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.
 
 
 
 
 
 

62 lines
1.5 KiB

  1. @echo off
  2. echo 10-02-2021 Ken. bwbasic compile.bat
  3. echo.
  4. echo Tested under Windows XP , 7 ,10 and 11
  5. echo added notes for 32 bit
  6. echo.
  7. echo Source - https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm64-gcc-5.1.0-2.exe/download
  8. echo.
  9. echo Tested under bwbasic-3.20d
  10. echo.
  11. echo Wait
  12. echo.
  13. if exist *.o del *.o
  14. if exist bwbasic.exe del bwbasic.exe
  15. if exist renum.exe del renum.exe
  16. call stdcomp bwbasic.c
  17. call stdcomp bwb_int.c
  18. call stdcomp bwb_tbl.c
  19. call stdcomp bwb_cmd.c
  20. call stdcomp bwb_prn.c
  21. call stdcomp bwb_exp.c
  22. call stdcomp bwb_var.c
  23. call stdcomp bwb_inp.c
  24. call stdcomp bwb_fnc.c
  25. call stdcomp bwb_cnd.c
  26. call stdcomp bwb_dio.c
  27. call stdcomp bwb_str.c
  28. call stdcomp bwb_stc.c
  29. call stdcomp bwx_tty.c
  30. call stdcomp bwd_cmd.c
  31. call stdcomp bwd_fun.c
  32. Rem If compiling under DOS 32 bit (gcc 5.1.0) add -m32 after -s
  33. gcc -s -ansi -DMSDOS -o bwbasic.exe bwb_cmd.o bwb_cnd.o bwb_dio.o bwb_exp.o bwb_fnc.o bwb_inp.o bwb_int.o bwb_prn.o bwb_stc.o bwb_str.o bwb_tbl.o bwb_var.o bwbasic.o bwd_cmd.o bwd_fun.o bwx_tty.o
  34. Rem If compiling under DOS 32 bit (gcc 5.1.0) add -m32 after -s
  35. gcc -s -ansi -DMSDOS -o renum.exe renum.c
  36. if exist "renum.exe" (
  37. echo.
  38. echo Compile suceeded for renum.exe.
  39. ) else (
  40. echo.
  41. echo Compile FAILED for renum.exe.
  42. )
  43. if exist "bwbasic.exe" (
  44. echo.
  45. echo Compile suceeded for bwbasic.exe.
  46. ) else (
  47. echo.
  48. echo Compile FAILED. Bwbasic.exe was not created.
  49. )
  50. echo.
  51. echo --Done--
  52. echo.
  53. @echo on