Below is the method to update GCB under Linux e.g. Xubuntu in case useful to anybody. Step 1: Downloaded GCB@Syn_build_1137.rar $ md5sum GCB@Syn_build_1137.rar 1113151a6bc28917d0ec89bd99ef93bf GCB@Syn_build_1137.rar Step 2: This test build will replace e.g. 0.99.01 2022-01-27 (Linux 64 bit) : Build 1073 Rename ~/GreatCowBASIC to ~/GreatCowBASICbuild1073 or simply remove old version. $ cd ~;unrar x ~/Downloads/GCB@Syn_build_1137.rar Enter password to the download (GCB) GreatCowBASIC/commands.dat -...
Below is the method to update GCB under Linux e.g. Xubuntu in case useful to anybody. Downloaded GCB@Syn_build_1137.rar $ md5sum GCB@Syn_build_1137.rar 1113151a6bc28917d0ec89bd99ef93bf GCB@Syn_build_1137.rar This test build will replace e.g. 0.99.01 2022-01-27 (Linux 64 bit) : Build 1073 Rename ~/GreatCowBASIC to ~/GreatCowBASICbuild1073 or simply remove old version. $ cd ~;unrar x ~/Downloads/GCB@Syn_build_1137.rar Enter password to the download (GCB) GreatCowBASIC/commands.dat - use current password...
$ gcbasic /version 0.99.02 2022-07-01 (Linux 64 bit) : Build 1137 Re-run the 'include' test $ cd ~/Ref/gcbasic; gcbasic /A:GCASM test.gcb Great Cow BASIC (0.99.02 2022-07-01 (Linux 64 bit) : Build 1137) Compiling test.gcb Program compiled successfully (Compile time: 0 seconds) Summary: Compiled: Program lines: 28754 Subroutines: User: 0 ; System: 1 of 871 ; Total: 1 Chip resource usage: Program Memory: 14/16384 words (.09%) RAM: 0/2048 bytes (0.%) OSC: 16Mhz Assembling program using GCASM Program...
Certainly. BTW Where does one locate new builds under test? Last evening we downloaded from https://sourceforge.net/projects/gcbasic/ $ md5sum GCB@Syn.rar 28e2536d4dcdb7db6d5cbf2e36e230ca GCB@Syn.rar and it builds into... 0.99.01 2022-01-27 (Linux 64 bit) : Build 1073 but expected Build 1135 if you are about to release 1136 Googling: 'great cow basic latest build' results... http://gcbasic.sourceforge.net/Typesetter/index.php/Download Download latest version dated 30Jan2022 - not the latest build...
When you 'merge into build 1136' do you paste the changes into the latest sources (e.g. Build 1135 sources) or use the entire source files I sent? It is just that I notice I was working with andymc@mvac18:~$ gcbasic /version 0.98.<<>> 2021-<<>>-24 (Linux 64 bit) : Build 1005 $ md5sum ~/GreatCowBASIC/sources/*.ref acd82332efc47156b0c628f69aae7204 ~/GreatCowBASIC/sources/preprocessor.bi.ref 68c6f16887ae9662c8dc30cc601bd675 ~/GreatCowBASIC/sources/utils.bi.ref whereas you mention making build 1136....
Done. Please see above
@Anobium Suggested changes are $ diff preprocessor.bi.ref preprocessor.bi 609a610 > 'Double quote seen so treat as full path and filename 616c617,621 < Temp = AddFullPath(Temp, ID + "\include\") --- > 'Lcase (below) is needed to heal mismatch between Linux case sensitive file naming and GCB adopting opposite, > 'as, by convention(?), all GCB library include filenames happen to be only lower case. > 'So to comply, ensure filename between angle brackets (not path) is made lowercase before attempting...
@Anobium Test was: from http://gcbasic.sourceforge.net/help/_ssd1306_controllers.html Search for '#define GLCD_TYPE_SSD1306_CHARACTER_MODE_ONLY' Copy example "drive a SSD1306 based Graphic I2C LCD module with the built in commands of Great Cow BASIC using Low Memory Mode GLCD" into temp.gcb $ cd ~/Ref/gcbasic (where temp.gcb lives) $ gcbasic /A:GCASM test.gcb Great Cow BASIC (0.98.<<>> 2021-<<>>-24 (Linux 64 bit) : Build 1005) Compiling test.gcb ... Cannot find /opt/GCBASIC/include//GLCD_ST7789.h...