Hello.
I've had a good week and been given an iMac to replace my (old) Windows XP machine at work. I've installed a copy of VirtualBox with a Windows XP Guest on it allowing me to run GCB 'normally' but if possible I'd like not to need to do this.
With that in mind, I've been trying to install GCB into a WineSkin. I have managed to get my WineSkin loaded with a copy of the GCB IDE and compilers. There are two issues that are causing me slight annoyances. The first is that on exiting GCB using either the File/Exit command, or closing the GCB Wine window the current session isn't saved and on restarting an empty file is shown [I could live with this for the convenience of not requiring to start VirtualBox]. If I use the menu command to save the current session, that session is reloaded at start up, with any files opened as they were when they were saved. The second issue is that the time taken to compile the file is really slooowww... A file that on a (slow) PC takes a few seconds, takes well over a minute.
Compile time in VirtualBox:
21:27:41G+Stool-COMPILE/ASSEMBLE,processingC:\GCB@Syn\G+Stools\makeHEX.batSource-File=D:\16f1829_024.gcbTarget-File=D:\16f1829_024.hex11.2Sec.CompilerVersion:0.952016-02-24ProgramMemory:3198/8192 words (39.04%) RAM: 80/1024bytes(7.81%)Chip:16F1829
The file paths are actually the same, I have mapped my 'Users\mkstevo\' folder to drive D: in VirtualBox.
Compile time in Wine:
20:42:12G+Stool-COMPILE/ASSEMBLE,processingC:\GCB@Syn\G+Stools\makeHEX.batSource-File=Z:\Users\mkstevo\16f1829_024.gcbTarget-File=Z:\Users\mkstevo\16f1829_024.hex70.8Sec.CompilerVersion:0.952016-02-24ProgramMemory:3198/8192 words (39.04%) RAM: 80/1024bytes(7.81%)Chip:16F1829
Has anyone tried running GCB and SynWrite under Wine that might be able to offer some guidance as to where I might be going wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The compiler seems to use as may CPU resources as it can get. I know almost nothing about WINE but I am guessing there is a way to allocate more resources to Wine. Maybe an OSx/MAC expert will show up and have an answer for you.
The good news is that in the next release of GCB, changes to the compiler allow it to compile about 4 times faster than the current version.
Last edit: William Roth 2016-06-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks to William and Keith. I'll be patient and wait for the release of the new compiler.
As I'll still need a copy of VirtualBox to 'run' my GQ-4X programmer, I don't suppose it will be any great loss if I can't get WINE to work any quicker. Though I could take Keith's approach, then I won't be as worried about it would I?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just tried the 0.95.006 release and, as promised, it is quicker. The same file now takes 45 seconds to compile. A big improvement. This makes CGB much more useable under WINE. Many thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello.
I've had a good week and been given an iMac to replace my (old) Windows XP machine at work. I've installed a copy of VirtualBox with a Windows XP Guest on it allowing me to run GCB 'normally' but if possible I'd like not to need to do this.
With that in mind, I've been trying to install GCB into a WineSkin. I have managed to get my WineSkin loaded with a copy of the GCB IDE and compilers. There are two issues that are causing me slight annoyances. The first is that on exiting GCB using either the File/Exit command, or closing the GCB Wine window the current session isn't saved and on restarting an empty file is shown [I could live with this for the convenience of not requiring to start VirtualBox]. If I use the menu command to save the current session, that session is reloaded at start up, with any files opened as they were when they were saved. The second issue is that the time taken to compile the file is really slooowww... A file that on a (slow) PC takes a few seconds, takes well over a minute.
Compile time in VirtualBox:
The file paths are actually the same, I have mapped my 'Users\mkstevo\' folder to drive D: in VirtualBox.
Compile time in Wine:
Has anyone tried running GCB and SynWrite under Wine that might be able to offer some guidance as to where I might be going wrong?
The compiler seems to use as may CPU resources as it can get. I know almost nothing about WINE but I am guessing there is a way to allocate more resources to Wine. Maybe an OSx/MAC expert will show up and have an answer for you.
The good news is that in the next release of GCB, changes to the compiler allow it to compile about 4 times faster than the current version.
Last edit: William Roth 2016-06-09
I know lots about WINE ! - Drink it - Get Drunk - what more is there to know??
Thanks to William and Keith. I'll be patient and wait for the release of the new compiler.
As I'll still need a copy of VirtualBox to 'run' my GQ-4X programmer, I don't suppose it will be any great loss if I can't get WINE to work any quicker. Though I could take Keith's approach, then I won't be as worried about it would I?
I've just tried the 0.95.006 release and, as promised, it is quicker. The same file now takes 45 seconds to compile. A big improvement. This makes CGB much more useable under WINE. Many thanks.
0.95.007 when release will be even faster!
Looking forward to that then. Thanks.