WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
For the discussion of the issues on building with gcc 8.x see viewtopic.php?t=29293
Trying something out here... moving the posts from here to the related side topic started
Trying something out here... moving the posts from here to the related side topic started
-
- Posts: 4313
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
WinFBE 2.2.0 with only gcc 5.2 is out of the question for me after using 8.3 for the last 18 months. Going back to an earlier version of WinFBE would put me back to fbc 1.07.1. We have Jeff Marshall updating fbc and Paul Squires updating WinFBE and I cannot take advantage of either. This will be true for many members.
So, I had a word with my anonymous toolchain builder and asked him if we would build 8.4 and 10.2 using fbc 1.07.2 via WinLabs. I asked for WinLabs because srvaldez hasn't been happy with Equation Solution.
I got more than what I asked for as a 8.3/1.07.2 was also built using Equation Solution; I've not had a problem with 8.3, so that was a welcome addition.
At the end of this post is a zipped folder called TripleBuild (245MB) within which we have three folders: The link has been removed.
FreeBASIC-1.07.3-gcc-8.3
FreeBASIC-1.07.3-gcc-8.4
FreeBASIC-1.07.3-gcc-10.2
to be placed next to FreeBASIC-1.07.2-gcc-5.2.
The designation 1.07.3 is used. In fact, we have 1.07.2 for 32-bit and 1.07.3 for 64-bit.
This is my SetCompilerPathsII.ini:
"5.2 1.07.2", "..\FreeBASIC-1.07.2-gcc-5.2\fbc32.exe", "..\FreeBASIC-1.07.2-gcc-5.2\fbc64.exe"
"8.3 1.07.3", "..\FreeBASIC-1.07.3-gcc-8.3\fbc32.exe", "..\FreeBASIC-1.07.3-gcc-8.3\fbc64.exe"
"8.4 1.07.3", "..\FreeBASIC-1.07.3-gcc-8.4\fbc32.exe", "..\FreeBASIC-1.07.3-gcc-8.4\fbc64.exe"
"10.2 1.07.3", "..\FreeBASIC-1.07.3-gcc-10.2\fbc32.exe", "..\FreeBASIC-1.07.3-gcc-10.2\fbc64.exe"
Link deleted
PS Next time that I am in Germany I'll buy my anonymous toolchain builder a few beers; although that may a while with the current lockdown travel restrictions.
So, I had a word with my anonymous toolchain builder and asked him if we would build 8.4 and 10.2 using fbc 1.07.2 via WinLabs. I asked for WinLabs because srvaldez hasn't been happy with Equation Solution.
I got more than what I asked for as a 8.3/1.07.2 was also built using Equation Solution; I've not had a problem with 8.3, so that was a welcome addition.
At the end of this post is a zipped folder called TripleBuild (245MB) within which we have three folders: The link has been removed.
FreeBASIC-1.07.3-gcc-8.3
FreeBASIC-1.07.3-gcc-8.4
FreeBASIC-1.07.3-gcc-10.2
to be placed next to FreeBASIC-1.07.2-gcc-5.2.
The designation 1.07.3 is used. In fact, we have 1.07.2 for 32-bit and 1.07.3 for 64-bit.
This is my SetCompilerPathsII.ini:
"5.2 1.07.2", "..\FreeBASIC-1.07.2-gcc-5.2\fbc32.exe", "..\FreeBASIC-1.07.2-gcc-5.2\fbc64.exe"
"8.3 1.07.3", "..\FreeBASIC-1.07.3-gcc-8.3\fbc32.exe", "..\FreeBASIC-1.07.3-gcc-8.3\fbc64.exe"
"8.4 1.07.3", "..\FreeBASIC-1.07.3-gcc-8.4\fbc32.exe", "..\FreeBASIC-1.07.3-gcc-8.4\fbc64.exe"
"10.2 1.07.3", "..\FreeBASIC-1.07.3-gcc-10.2\fbc32.exe", "..\FreeBASIC-1.07.3-gcc-10.2\fbc64.exe"
Link deleted
PS Next time that I am in Germany I'll buy my anonymous toolchain builder a few beers; although that may a while with the current lockdown travel restrictions.
Last edited by deltarho[1859] on Apr 11, 2021 21:24, edited 1 time in total.
-
- Posts: 4313
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
Needless to say I test builds before publishing them. I fired up WinFBE and got a linking failure on 64-bit. I had not copied lib/win64 - now corrected - zip up from 197MB to 245MB.
The question then was: Why had previous tests been OK? I had to restore WinFBE's default build configuration which had switched from 64-bit to 32-bit, so my previous tests were using 32-bit and not 64-bit. I have noticed before that the default build configuration doesn't always persist when first set up. After setting again it persists. This is not WinFBE's fault but a bug in how Windows deals with ini files. I have had issues with my applications in the past.
The question then was: Why had previous tests been OK? I had to restore WinFBE's default build configuration which had switched from 64-bit to 32-bit, so my previous tests were using 32-bit and not 64-bit. I have noticed before that the default build configuration doesn't always persist when first set up. After setting again it persists. This is not WinFBE's fault but a bug in how Windows deals with ini files. I have had issues with my applications in the past.
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
After installing version 2.2, the compiler paths need to be entered manually.
-
- Posts: 4313
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
-
- Posts: 1002
- Joined: Jul 14, 2005 23:41
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
I am re-working the Compiler Setup section of WinFBE's Environment Options to remove the requirement to explicitly specify the FBC exe names and paths for the 32-bit and 64-bit compilers. I am replacing that it with a listbox that lists all of the "toolchains" that are present in a specific folder called "toolchains" located off of the the main install directory. The text displayed in the listbox will be whatever you name the corresponding folders for those specific toolchains. Shift+F7 will allow you to quickly access the toolchain list and switch toolchains as desired.deltarho[1859] wrote:This is my SetCompilerPathsII.ini:
"5.2 1.07.2", "..\FreeBASIC-1.07.2-gcc-5.2\fbc32.exe", "..\FreeBASIC-1.07.2-gcc-5.2\fbc64.exe"
"8.3 1.07.3", "..\FreeBASIC-1.07.3-gcc-8.3\fbc32.exe", "..\FreeBASIC-1.07.3-gcc-8.3\fbc64.exe"
"8.4 1.07.3", "..\FreeBASIC-1.07.3-gcc-8.4\fbc32.exe", "..\FreeBASIC-1.07.3-gcc-8.4\fbc64.exe"
"10.2 1.07.3", "..\FreeBASIC-1.07.3-gcc-10.2\fbc32.exe", "..\FreeBASIC-1.07.3-gcc-10.2\fbc64.exe"
The only requirement, per se, will be that the FBC compilers in each of the toolchain folders will have to be named fbc32.exe and fbc64.exe which is no big deal if you are using the default WinFBE Suite because that step is already done for you.
@deltarho[1859], I will post a link for you to download this new version before I make it generally available so that you can tear it apart to see if it is good, bad, or ugly. If it meets your expectations then I'll include it in the next WinFBE update.
Thanks!
Paul
-
- Posts: 4313
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
@PaulSquires
Sounds good so far.
Of course, drWinFBE_Tools.chm will need to be rewritten.
Sounds good so far.
Of course, drWinFBE_Tools.chm will need to be rewritten.
-
- Posts: 1002
- Joined: Jul 14, 2005 23:41
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
The goal, at the end of the day, is to totally replace the need for the SetCompilerPathsII tool.deltarho[1859] wrote:@PaulSquires
Sounds good so far.
Of course, drWinFBE_Tools.chm will need to be rewritten.
(Edit: I should have been a little more clear. The changes to WinFBE kind of emulate the functionality of SetCompilerPathsII, I am 99% sure that the tool will still work even after the new WinFBE change.)
Last edited by PaulSquires on Apr 18, 2021 0:09, edited 1 time in total.
-
- Posts: 1002
- Joined: Jul 14, 2005 23:41
-
- Posts: 4313
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
I gathered that.PaulSquires wrote:The goal, at the end of the day, is to totally replace the need for the SetCompilerPathsII tool.
SetCompilerSwichesII has '-fpu sse' hard wired in the latest version. I am looking at making that optional like '-exx'. I may also make optional '-Wc -Wno-array-bounds' for gcc newer than 5.2; coderJeff may hard wire that into fbc but I am not happy with that.
The Compiler Setup snapshot looks good. RIP: SetCompilerPathsII
The upcoming fbc 1.08 may well have gcc 8.4 as the default with gcc 5.2 as an additional. WinFBE should also have at least two toolchains. Having said that, I think you will be making a rod for your own back to include a gcc in development. I would include no more than two toolchains in the package download with other toolchains as Assets and make those tool chains available, as links, with each new version of WinFBE.
-
- Posts: 4313
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
It looks like fbc 1.08 will have it hard-wired.Yours truly wrote:I may also make optional '-Wc -Wno-array-bounds' for gcc newer than 5.2; coderJeff may hard wire that into fbc but I am not happy with that.
I was a bit concerned that it may disrupt the functioning of -exx but after some tests that does not seem to be the case.
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
I can't see a feature to highlight function names in the code in a different color. Is there such a feature?
-
- Posts: 564
- Joined: Sep 27, 2016 18:20
- Location: Valencia, Spain
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
Sure. Menu --> Options --> Environment Options --> Coolors and Fonts --> Kewords.
-
- Posts: 4313
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)
The answer is no. The question was "to highlight function names".
-
- Posts: 564
- Joined: Sep 27, 2016 18:20
- Location: Valencia, Spain