How do I do this please? where is pptool? there's the pps tool but not that.
Compiler Option - Verbose Mode
Verbose mode has been a compiler option for a long time. It has been a hidden parameter that only a few have been using.
Verbose mode shows you a lot more information about your program, source files, the include files, methods called and a host of other information including the programmer that has selected to be used.
The option can be found in the PPTool. Select the Compiler tab and select or deselect the Verbose Mode check box. Compile something to see the different information provided.
Verbose mode can be very useful to understand what the compile is doing and what errors are happening.
Enjoy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Because I have not tried it I don't know what I am missing...like if I make program changes is the asm size different other than look at the file sizes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To invoke verbose mode on the command line (which is in my script "Makehex.sh") I have the line:
${installdir}/gcbasic/NP/K:A/v/A:GCASM"${1}"
The "/v" is the argument that invokes verbose mode at the command line.
The sections in curly braces ${installdir} and ${1} are replaced in the script with the directory names and paths to the source file being compiled. Thanks to @trev for the help getting that to work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It may be possible to choose verbose mode on Windows with a check box, but I'm not using Windows. The output I showed should be similar. You should be able to invoke verbose mode in a similar way if you call the compiler from the Windows (DOS) command line.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You see, I had to be difficult and not use Windows...
Mind you, I'm seriously thinking of changing my OS. Less than happy with macOS forcing apps to be 64bit. I have many apps that are 32bit only, and not likely to change. I might be forced to regress to Windows XP.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Steve. I tried various linux on pc and rpi and it's ui is easy to use but you really need to use the terminal to do "stuff" and it is specific text that every character means something.
Too hard for me...so I use windows. Most people don't use the windows command prompt...imho.
Win vs Mac ... not a clue as I won't pay the money for a mac
When I first used gcb I had to un-rem a line for uno and it worked but the new interface is more "normal".
I "had" to change to win 64bit cos some software like 3d printer was only 64bit.
only to find i did not have the opengl graphic card to run it..yawn.
I now have graphics cards....been playing some old 3d games I had like halo and quake. Run much better...but I digress.
my point is that a gui is easy to get to understand but typeing text is not.
and if I may rant... what's with apple phones and tablets that cost lots.
What's wrong with an android phone or tablet that costs 80% less.
aren't they "cool" enough? I don't like android os though,got lots of android tv boxes.
ps I remember XP...it was before win7 ... happy days
Last edit: stan cartwright 2020-09-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do I do this please? where is pptool? there's the pps tool but not that.
Compiler Option - Verbose Mode
Verbose mode has been a compiler option for a long time. It has been a hidden parameter that only a few have been using.
Verbose mode shows you a lot more information about your program, source files, the include files, methods called and a host of other information including the programmer that has selected to be used.
The option can be found in the PPTool. Select the Compiler tab and select or deselect the Verbose Mode check box. Compile something to see the different information provided.
Verbose mode can be very useful to understand what the compile is doing and what errors are happening.
Enjoy
Because I have not tried it I don't know what I am missing...like if I make program changes is the asm size different other than look at the file sizes.
I thought it showed more detail in the compile window as the compilation and assembling of the program took place.
With it on the command line I use to start compilation, I get this:
Yours may look different unless using a Mac with Geany.
Last edit: mkstevo 2020-09-01
To invoke verbose mode on the command line (which is in my script "Makehex.sh") I have the line:
The "/v" is the argument that invokes verbose mode at the command line.
The sections in curly braces ${installdir} and ${1} are replaced in the script with the directory names and paths to the source file being compiled. Thanks to @trev for the help getting that to work.
Oh! I just like the summary. I thought verbose was a check box or summat. I won't use verbose.
Thanks.
It may be possible to choose verbose mode on Windows with a check box, but I'm not using Windows. The output I showed should be similar. You should be able to invoke verbose mode in a similar way if you call the compiler from the Windows (DOS) command line.
In Windows use the IDE/Edit Program Preferences. When you select Verbose mode the IDE passes the correct parameters.
Windows not longer requires batch file editing for a few years now (thankfully!)
"Windows not longer requires batch file editing for a few years now (thankfully!)"
With you on that one!
A misconception that windows users are familiar with batch files and scripts...
er..no. That's why we use windows....and a mouse thingy :)
You see, I had to be difficult and not use Windows...
Mind you, I'm seriously thinking of changing my OS. Less than happy with macOS forcing apps to be 64bit. I have many apps that are 32bit only, and not likely to change. I might be forced to regress to Windows XP.
Steve. I tried various linux on pc and rpi and it's ui is easy to use but you really need to use the terminal to do "stuff" and it is specific text that every character means something.
Too hard for me...so I use windows. Most people don't use the windows command prompt...imho.
Win vs Mac ... not a clue as I won't pay the money for a mac
When I first used gcb I had to un-rem a line for uno and it worked but the new interface is more "normal".
I "had" to change to win 64bit cos some software like 3d printer was only 64bit.
only to find i did not have the opengl graphic card to run it..yawn.
I now have graphics cards....been playing some old 3d games I had like halo and quake. Run much better...but I digress.
my point is that a gui is easy to get to understand but typeing text is not.
and if I may rant... what's with apple phones and tablets that cost lots.
What's wrong with an android phone or tablet that costs 80% less.
aren't they "cool" enough? I don't like android os though,got lots of android tv boxes.
ps I remember XP...it was before win7 ... happy days
Last edit: stan cartwright 2020-09-02