Where can I get a Recent-Git-Build of FreeBASIC?

General discussion for topics related to the FreeBASIC project or its community.
Post Reply
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by MOD »

I'll check it.

edit: my mistake, sorry for the inconvenience, new version uploaded
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by Imortis »

Did something change with the way Include paths are handled? I upgraded to the GIT build provided, and It can't find any of the Include files in my inc directory. I have to manually add the path. Did I do something wrong?
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by MOD »

It's "include" now, not "inc".
Imortis
Moderator
Posts: 1924
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by Imortis »

Ah. And it also appears that the lib\win32 directory has gone away as well. All libraries are just in the lib folder. Thanks for your help.
fxm
Moderator
Posts: 12108
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by fxm »

MOD wrote:I'll check it.

edit: my mistake, sorry for the inconvenience, new version uploaded
Thanks.
It works well now.

With this last build 05/06.02.2012, I checked the fixes for these 3 closed bug reports:
- 3476028 SWAP allows constant string as variable: OK
- 3476021 SWAP bad result with one or two fix-len strings as variables: OK
- 3475638 SWAP does not delete temp descriptors: OK
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by MOD »

After a break and small changes to the compiler, dkl started to work on the C-Emitter (bugfixing etc.). I have just updated the builds on FreeBASIC Portal. It would be a good idea to do some tests before the release.
fxm
Moderator
Posts: 12108
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by fxm »

MOD wrote:After a break and small changes to the compiler, dkl started to work on the C-Emitter (bugfixing etc.). I have just updated the builds on FreeBASIC Portal. It would be a good idea to do some tests before the release.
- GCC BACKEND bug report 1 ? : In graphic mode, compilation errors when using the compiler option -ex or -exx:

Code: Select all

Screenres 640, 480
Sleep
  • Command executed:
    "d:\Documents and Settings\t0003830\Mes documents\fbc0.24_windows20120409\fbc.exe" "D:\Prg\FXM\Test_PCB\FBIDETEMP.bas" -gen gcc -exx

    Compiler output:
    D:\Prg\FXM\Test_PCB\FBIDETEMP.c: In function `main':
    D:\Prg\FXM\Test_PCB\FBIDETEMP.c:57: error: `label$3' undeclared (first use in this function)
    D:\Prg\FXM\Test_PCB\FBIDETEMP.c:57: error: (Each undeclared identifier is reported only once
    D:\Prg\FXM\Test_PCB\FBIDETEMP.c:57: error: for each function it appears in.)
    D:\Prg\FXM\Test_PCB\FBIDETEMP.c:57: error: `label$4' undeclared (first use in this function)

    Results:
    Compilation failed

    System:
    FBIde: 0.4.6
    fbc: FreeBASIC Compiler - Version 0.24.0 (04-09-2012) for win32
    OS: Windows XP (build 2600, Service Pack 3)

- GCC BACKEND bug report 2 ? : Not compatible of 'On [Local] Error Goto label' (but works with 'Goto label'):

Code: Select all

On Error Goto Label
Label:
Sleep
  • Command executed:
    "d:\Documents and Settings\t0003830\Mes documents\fbc0.24_windows20120409\fbc.exe" "d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.bas" -gen gcc

    Compiler output:
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c: In function `main':
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:33: error: `label$2' undeclared (first use in this function)
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:33: error: (Each undeclared identifier is reported only once
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:33: error: for each function it appears in.)

    Results:
    Compilation failed

    System:
    FBIde: 0.4.6
    fbc: FreeBASIC Compiler - Version 0.24.0 (04-09-2012) for win32
    OS: Windows XP (build 2600, Service Pack 3)

- GCC BACKEND bug report 3 ? : For dynamic array use, compilation errors when using the compiler option -ex or -exx:
(perhaps linked with the GCC BACKEND bug report 1 !)

Code: Select all

Redim array(10) As Integer
  • Command executed:
    "d:\Documents and Settings\t0003830\Mes documents\fbc0.24_windows20120409+gcc\fbc.exe" "d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.bas" -gen gcc -exx

    Compiler output:
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c: In function `main':
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:88: error: `label$3' undeclared (first use in this function)
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:88: error: (Each undeclared identifier is reported only once
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:88: error: for each function it appears in.)
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:88: error: `label$4' undeclared (first use in this function)

    Results:
    Compilation failed

    System:
    FBIde: 0.4.6
    fbc: FreeBASIC Compiler - Version 0.24.0 (04-09-2012) for win32
    OS: Windows XP (build 2600, Service Pack 3)

{Edit]
- Add GCC BACKEND bug report 3 to this post.
- OK for the closed bug report 3310595 GCC BACKEND : Compiler error when using 'CLng'.
dkl
Site Admin
Posts: 3235
Joined: Jul 28, 2005 14:45
Location: Germany

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by dkl »

All 3 issues should be solved with the latest patch in Git. Thanks for testing.
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by MOD »

New builds uploaded.
fxm
Moderator
Posts: 12108
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by fxm »

Thanks dkl and MOD.

- Now, OK for the previous 3 compilation bugs.

- But I isolated another little more complex compilation bug :
Suppressing the 'If ... End If', the compiler error disappears!.
Suppressing the 'Local', the compiler error disappears (it would be the opposite)!!!

Code: Select all

Sub test
  If -1 Then
    On Local Error Goto bug
label:  
  End If
  Exit Sub
bug:
  Goto label
End Sub
  • Command executed:
    "d:\Documents and Settings\t0003830\Mes documents\fbc0.24_windows20120411+gcc\fbc.exe" "d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.bas" -gen gcc

    Compiler output:
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c: In function `TEST':
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:41: error: `TMP$0$' undeclared (first use in this function)
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:41: error: (Each undeclared identifier is reported only once
    d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.c:41: error: for each function it appears in.)

    Results:
    Compilation failed

    System:
    FBIde: 0.4.6
    fbc: FreeBASIC Compiler - Version 0.24.0 (04-11-2012) for win32
    OS: Windows XP (build 2600, Service Pack 3)
fxm
Moderator
Posts: 12108
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by fxm »

Remark about my previous post, but with the '-gen gas' compiler option (for the very beginning):
See this following post at the forum documentation:
http://www.freebasic.net/forum/viewtopi ... 09#p172909
Last edited by fxm on Apr 14, 2012 14:05, edited 15 times in total.
srvaldez
Posts: 3379
Joined: Sep 25, 2005 21:54

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by srvaldez »

thank you MOD for the new build :)
but why include GNU assembler 2.15.94 and GNU ar 2.15.94 whereas GNU ld is version 2.22 ?
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by MOD »

They are simply copied from my current fbc-installation. You can try it with the latest versions and do some tests. If everything works fine, I could update them in the packages, too.
SARG
Posts: 1766
Joined: May 27, 2005 7:15
Location: FRANCE

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by SARG »

MOD wrote:New builds uploaded.
I have download the 0.24 version and strangely the #include command doesn't find files. I just replace the oldest fbc.exe version by the new one in the freebasic directory.

C:\TEMP\dev\FBIDETEMP.bas(1) error 23: File not found, "windows.bi" in '#Include "windows.bi"'

Did I miss something ?
fxm
Moderator
Posts: 12108
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where get a Recent-Git-Build of FreeBASIC?

Post by fxm »

SARG wrote:
MOD wrote:New builds uploaded.
I have download the 0.24 version and strangely the #include command doesn't find files. I just replace the oldest fbc.exe version by the new one in the freebasic directory.

C:\TEMP\dev\FBIDETEMP.bas(1) error 23: File not found, "windows.bi" in '#Include "windows.bi"'

Did I miss something ?
No problem for me!
What was the version and date of your old fbc.exe that you have replaced?
See these previous posts:
http://www.freebasic.net/forum/viewtopi ... 37#p170537
http://www.freebasic.net/forum/viewtopi ... 38#p170538
http://www.freebasic.net/forum/viewtopi ... 40#p170540
Post Reply