When FreeBASIC was still working only on 32bit OSes, I had problems in compilling the gcb with the most recent version of FreeBASIC. If I remember right, it only compiled on Linux using a 0.23 version... It is still the case, can I compile gcb with the 64bit version of FreeBASIC for Linux? Well, I will try it anyway, but it will be great to see some indications o the website regarding the required version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, I don't build a distro, but I use Linux exclusively. I didn't saw your response as I was making preparations for actually compiling it under Linux. I used it on linux some years ago for testing purposes as I mainly use JALv2 and C compilers for PIC and AVR.
Last edit: Vasi 2016-05-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeah, it compiles under 64bit Xubuntu 16.04, using the 64bit package of FreeBASIC for Linux (1.05.0) after trowing a warning message: "gcbasic-code/GCBASIC/trunk/assembly.bi(362) warning 23(2): Array too large for stack, consider making it var-len or SHARED"
Then, if I run the resulted executable of gcb with "-v" option. I get:
Great Cow BASIC - A BASIC compiler for microcontrollers
Version: 0.95 2016-05-09
To compile a file, drag and drop it onto the icon for this program. See
Getting Started with GCBASIC for more info.
Command line parameters:
GCBASIC [/O:output.asm][/A:assembler][/P:programmer][/K:{C|A}][/V][/L] [/R:format][/NP] filename
/O:output.asm Set an output filename other than the default
/A:assembler Batch file used to call assembler. If /A:GCASM is
given, GCBASIC will use its internal assembler.
/P:programmer Batch file used to call programmer.
/K:{C|A} Keep original code in assembly output. /K:C will
save comments, /K:A will preserve all input code.
/R:format Write a compilation report. Format can be html, text
or none.
/V Verbose mode
/L Show license
/NP Do not pause on errors. Use with IDEs.
filename The file to compile.
You may use - in place of /, such as -V instead of /V.
Press any key to continue
So, yes, it compile and executes well. Now, to test some PIC code...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Check out the Linux distro as this informs you about the new help, the structures and lots of great information to make Great Cow BASIC good as a tool.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When FreeBASIC was still working only on 32bit OSes, I had problems in compilling the gcb with the most recent version of FreeBASIC. If I remember right, it only compiled on Linux using a 0.23 version... It is still the case, can I compile gcb with the 64bit version of FreeBASIC for Linux? Well, I will try it anyway, but it will be great to see some indications o the website regarding the required version.
Are you building a Linux distro? We have script for Linux now.
We know have a full Windows distri and the latest full build is release as a complete package.
What are you looking to do?
No, I don't build a distro, but I use Linux exclusively. I didn't saw your response as I was making preparations for actually compiling it under Linux. I used it on linux some years ago for testing purposes as I mainly use JALv2 and C compilers for PIC and AVR.
Last edit: Vasi 2016-05-13
Yeah, it compiles under 64bit Xubuntu 16.04, using the 64bit package of FreeBASIC for Linux (1.05.0) after trowing a warning message: "gcbasic-code/GCBASIC/trunk/assembly.bi(362) warning 23(2): Array too large for stack, consider making it var-len or SHARED"
Then, if I run the resulted executable of gcb with "-v" option. I get:
Great Cow BASIC - A BASIC compiler for microcontrollers
Version: 0.95 2016-05-09
To compile a file, drag and drop it onto the icon for this program. See
Getting Started with GCBASIC for more info.
Command line parameters:
GCBASIC [/O:output.asm] [/A:assembler] [/P:programmer] [/K:{C|A}] [/V] [/L]
[/R:format] [/NP] filename
You may use - in place of /, such as -V instead of /V.
Press any key to continue
So, yes, it compile and executes well. Now, to test some PIC code...
Excellent.
Check out the Linux distro as this informs you about the new help, the structures and lots of great information to make Great Cow BASIC good as a tool.
Thanks, I'll do that!