WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated November 7, 2019)

User projects written in or related to FreeBASIC.
cbruce
Posts: 136
Joined: Sep 12, 2007 19:13
Location: Dallas, Texas

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby cbruce » Sep 30, 2018 5:00

Hi Paul,

Your latest releases have played heck with my editor themes - I can go back to versions like 1.60 and the themes are fine - but with the 1.9+ versions, the colors are all messed up.

Any idea what changes you made to the theme format and how I might figure out what's going on without spending a few hours to redo all of my themes?

[edit...]

Here's an example of one of mine...

Code: Select all

THEME_02={7EF41245-7C3A-42EC-8473-F8A40781DE02},Bruce (Dark)|4294967295,4294967295, 0, 0, 0, 0|14540253,0, 0, 0, 1, 0|5921370,4294967295, 0, 0, 0, 0|16776960,0, 0, 0, 0, 0|1973790,4294967295, 0, 0, 0, 0|1973790,5921370, 0, 0, 0, 0|9737364,0, 0, 0, 0, 0|5921370,1973790, 0, 0, 0, 0|40447,0, 0, 1, 0, 0|1973790,13421772, 0, 0, 0, 0|65535,0, 0, 0, 0, 0|15790320,3822726, 0, 0, 0, 0|16711935,0, 0, 0, 1, 0|65280,0, 0, 0, 0, 0|0,0, 0, 0, 0, 0|0,0, 0, 0, 0, 0


[edit...]

FOUND IT!
You got rid of the "Bookmarks" and "WinAPI Keywords" entries in the themes.

I just edited my theme strings and they are all good now!

Thanks!
CBruce
deltarho[1859]
Posts: 2078
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby deltarho[1859] » Sep 30, 2018 15:32

@PaulSquires

I am getting the occasional internal compiler error with gcc 8.1 when using -O3 forcing me to use -O2 or drop down to WinFBE 1.77 which uses gcc 5.2. I definitely do not want to be using gcc 5.2.

I think that the WinFBE_Suite would be better served by using gcc 7.3 and move up to gcc 8.* when gcc 9 is released. According to what I have read gcc 8.1 has the edge on gcc 7.3, performance wise, but I doubt that the average FB user would see anything significant. Of course, I should imagine a different story when comparing gcc 7.3 with gcc 5.2. If you prefer to stay with gcc 8 then we should move up to gcc 8.2 which was released on 27th July 2018.
PaulSquires
Posts: 786
Joined: Jul 14, 2005 23:41
Contact:

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby PaulSquires » Sep 30, 2018 17:55

I just got home from my vacation so I am catching up on everything here on this forum and over on PlanetSquires. I will work on a new upload this week and try to gt the latest GCC included as well.
deltarho[1859]
Posts: 2078
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby deltarho[1859] » Sep 30, 2018 22:01

@PaulSquires

Paul, have a look at this.

In particular:
WinFBE_Suite 1.77 64_bit gcc.exe 1,747,968
WinFBE_Suite 1.79 64_bit gcc.exe 1,747,968

Whilst it is possible for them to be the same size I would have thought it highly unlikely given that 1.77 uses gcc 5.2 and 1.79 uses gcc 8.1.
Luis Babboni
Posts: 301
Joined: Mar 15, 2015 12:41

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby Luis Babboni » Oct 01, 2018 0:16

Josep Roca wrote:
Luis Babboni wrote:Hi, thanks for your work!
It not have the option to have those "+" or "-" places to click to contract or expand the view in For/next; If/Endif; etc?


Code: Select all

Menu
  |_ Options
      |_ Environment Options
          |_ Code editor
              |_ Check checkbox "Show fold margin"


Nice!!! Thansk Josep!
PaulSquires
Posts: 786
Joined: Jul 14, 2005 23:41
Contact:

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby PaulSquires » Oct 01, 2018 0:29

deltarho[1859] wrote:@PaulSquires

Paul, have a look at this.

In particular:
WinFBE_Suite 1.77 64_bit gcc.exe 1,747,968
WinFBE_Suite 1.79 64_bit gcc.exe 1,747,968

Whilst it is possible for them to be the same size I would have thought it highly unlikely given that 1.77 uses gcc 5.2 and 1.79 uses gcc 8.1.


It is possible that maybe I only updated the cc1.exe and not also the gcc.exe.... I'll be 100% sure to check that when I install the 8.2 toolchain that it contains all of the matched files. I have been known to make stupid mistakes :-)
deltarho[1859]
Posts: 2078
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby deltarho[1859] » Oct 01, 2018 6:19

Paul, if you have a look at my second post at that link it is clear that something is going on with gcc 8.1 64-bit so, perhaps, the performance boost is coming from cc1.exe. I have no idea what gcc.exe does and what effect it would have by using 5.2 gcc.exe as opposed to 8.1 gcc.exe. It could be that the occasional internal compiler error I get with gcc 8.1 64-bit is because we are using an outdated gcc.exe. That may go away with 8.2 with all of the files matched.

BTW, the gcc team is currently working on V9. I would not be tempted to step up to V9 when it gets released but stay with V8 a little longer until V9 has had a few revisions. I, and I am sure most, would be more than happy with the latest revision of V8 which will probably have one or two more revisions. The reason I am suggesting this is because I have taken on board what MrSwiss wrote here.
I have been known to make stupid mistakes :-)

We are very fortunate that you do not make anything like as many as I do. <smile>
Last edited by deltarho[1859] on Oct 01, 2018 13:27, edited 1 time in total.
St_W
Posts: 1476
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby St_W » Oct 01, 2018 11:31

re gcc.exe/cc1.exe
see also https://www.freebasic.net/forum/viewtop ... 76#p248276
Basically gcc.exe is just doing some pre/post-processing and invokes all the involved tools, including cc1.exe (which is the actual compiler) and a few others like assembler and linker.
deltarho[1859]
Posts: 2078
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby deltarho[1859] » Oct 01, 2018 14:04

Paul, I have some bad news for you - see here

It looks like you weren't even using 5.2 gcc.exe but using 4.8.2 gcc.exe.

Anyway, my last post still holds in that "It could be that the occasional internal compiler error I get with gcc 8.1 64-bit is because we are using an outdated gcc.exe. That may go away with 8.2 with all of the files matched."
deltarho[1859]
Posts: 2078
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby deltarho[1859] » Oct 01, 2018 17:05

@PaulSquires

According to St_W: "There doesn't seem to be a gcc 8.2 build from the mingw-w64 project as of now"

You may not be able to issue a WinFBE_Suite with gcc 8.2 for a while.

So, I think that first port of call is to correct 1.79 so that 64-bit uses the correct gcc.exe.
deltarho[1859]
Posts: 2078
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby deltarho[1859] » Oct 01, 2018 20:35

@PaulSquires

I should have done this before now.

I replaced the 1.79 64-bit gcc.exe with the one in St_W's gcc.exe 8.1 64-bit build and I am no longer getting the internal compiler error so it looks like the outdated 64-bit gcc.ece was causing a problem.
deltarho[1859]
Posts: 2078
Joined: Jan 02, 2017 0:34
Location: UK

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

Postby deltarho[1859] » Oct 06, 2018 15:13

@PaulSquires

Hi Paul. Have a look at St_W's post here and my following post.
PaulSquires
Posts: 786
Joined: Jul 14, 2005 23:41
Contact:

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated October 6, 2018)

Postby PaulSquires » Oct 06, 2018 19:34

Version 1.8.0 (October 6, 2018)
- Added: Merged pull request 7c5fb4d from skyfishtb. Parsing of ENUM and REDIM.
- Added: Delete any previously existing compile output file (ie. .EXE, .DLL, .a) so it will not exist should the compile fail.
- Added: Code editor Calltips for the ListBox control.
- Fixed: Updated gcc.exe to correct 64 version.
- Fixed: Corrected libexec subfolder names for 32/64 bit versions of cc1.exe (part of the gcc toolchain).
- Changed: Updated Italian language file (thanks Massimiliano).
- Changed: Updated German language file (thanks Joerg Buckel).

https://github.com/PaulSquires/WinFBE/releases
Provoni
Posts: 340
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated October 6, 2018)

Postby Provoni » Oct 07, 2018 7:46

Thank you PaulSquires for all your wonderful work!
Provoni
Posts: 340
Joined: Jan 05, 2014 12:33
Location: Belgium

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated October 6, 2018)

Postby Provoni » Oct 07, 2018 8:05

How does one add an icon to a program?

With FbEdit I include a .rc file but this does not seem to work with WinFBE?

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest