After a recent install of GCBASIC on Linux, I did not create a 'gcbasic.ini' file, and I renamed 'prefs.dat' so it would not be found. I then executed 'gcbasic' on a source file, and it worked just fine it seems.
Are these two configuration files optional?
Lee
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The only exception to this is regarding the bug in the method to discover the Installation Directory ("ID" in gcbasic.bas) which I reported and then subsequently fixed on my local copy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After a recent install of GCBASIC on Linux, I did not create a 'gcbasic.ini' file, and I renamed 'prefs.dat' so it would not be found. I then executed 'gcbasic' on a source file, and it worked just fine it seems.
Are these two configuration files optional?
Lee
Update for anyone with the same question...
After doing some testing, I've determined that:
'prefs.dat' does not appear to be used at all by the Linux 'gcbasic' executable, and
'gcbasic.ini' is optional; ie. if it exists, its settings are used, but no error is issued if it does not exist.
True in context of your port. Other use case depend on these ini files.
I haven't ported anything. I am using the same Linux executable that every other Linux user would be using if they followed the instructions at either:
http://sourceforge.net/p/gcbasic/discussion/579126/thread/adf04bb0/#10ec/b9fb , or
http://gcbasic.sourceforge.net/help/lunixoverview.htm
The only exception to this is regarding the bug in the method to discover the Installation Directory ("ID" in gcbasic.bas) which I reported and then subsequently fixed on my local copy.