WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

User projects written in or related to FreeBASIC.
coderJeff
Site Admin
Posts: 3456
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby coderJeff » Apr 02, 2021 5:22

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
deltarho[1859]
Posts: 2926
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby deltarho[1859] » Apr 06, 2021 17:54

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"
Image

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. Image
Last edited by deltarho[1859] on Apr 11, 2021 21:24, edited 1 time in total.
deltarho[1859]
Posts: 2926
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby deltarho[1859] » Apr 06, 2021 19:11

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.
dmontaine
Posts: 4
Joined: Mar 15, 2018 7:13

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby dmontaine » Apr 14, 2021 19:47

After installing version 2.2, the compiler paths need to be entered manually.
deltarho[1859]
Posts: 2926
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby deltarho[1859] » Apr 14, 2021 21:13

Image

Please elaborate.
PaulSquires
Posts: 897
Joined: Jul 14, 2005 23:41

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby PaulSquires » Apr 17, 2021 22:05

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"
Image


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.

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
deltarho[1859]
Posts: 2926
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby deltarho[1859] » Apr 17, 2021 22:19

@PaulSquires

Sounds good so far.

Of course, drWinFBE_Tools.chm will need to be rewritten. Image
PaulSquires
Posts: 897
Joined: Jul 14, 2005 23:41

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby PaulSquires » Apr 17, 2021 23:25

deltarho[1859] wrote:@PaulSquires

Sounds good so far.

Of course, drWinFBE_Tools.chm will need to be rewritten.


The goal, at the end of the day, is to totally replace the need for the SetCompilerPathsII tool.

(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.
deltarho[1859]
Posts: 2926
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby deltarho[1859] » Apr 18, 2021 0:11

PaulSquires wrote:The goal, at the end of the day, is to totally replace the need for the SetCompilerPathsII tool.

I gathered that. Image

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 Image

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.
deltarho[1859]
Posts: 2926
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby deltarho[1859] » Apr 19, 2021 5:21

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.

It looks like fbc 1.08 will have it hard-wired.

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.
jaskin
Posts: 22
Joined: Sep 01, 2018 20:19

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby jaskin » Apr 20, 2021 22:30

I can't see a feature to highlight function names in the code in a different color. Is there such a feature?
Josep Roca
Posts: 523
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)

Postby Josep Roca » Apr 20, 2021 23:14

Sure. Menu --> Options --> Environment Options --> Coolors and Fonts --> Kewords.
deltarho[1859]
Posts: 2926
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

Postby deltarho[1859] » Apr 21, 2021 0:35

The answer is no. The question was "to highlight function names".
Josep Roca
Posts: 523
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)

Postby Josep Roca » Apr 21, 2021 0:38

Sorry. I misread it.

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 12 guests