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

For other topics related to the FreeBASIC project or its community.
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

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

Postby MOD » Feb 06, 2012 12:29

I'll check it.

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

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

Postby Imortis » Feb 06, 2012 16:05

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?

Postby MOD » Feb 06, 2012 16:28

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

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

Postby Imortis » Feb 06, 2012 16:44

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
Posts: 9135
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Feb 06, 2012 17:25

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?

Postby MOD » Apr 09, 2012 11:09

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
Posts: 9135
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Apr 09, 2012 12:31

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: 3209
Joined: Jul 28, 2005 14:45
Location: Germany

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

Postby dkl » Apr 11, 2012 19:11

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?

Postby MOD » Apr 11, 2012 20:18

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

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

Postby fxm » Apr 11, 2012 21:24

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
Posts: 9135
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Apr 11, 2012 22:07

Remark about my previous post, but with the '-gen gas' compiler option (for the very beginning):
See this following post at the forum documentation:
viewtopic.php?p=172909#p172909
Last edited by fxm on Apr 14, 2012 14:05, edited 15 times in total.
srvaldez
Posts: 2063
Joined: Sep 25, 2005 21:54

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

Postby srvaldez » Apr 12, 2012 1:27

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?

Postby MOD » Apr 13, 2012 9:07

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: 904
Joined: May 27, 2005 7:15
Location: FRANCE

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

Postby SARG » Apr 16, 2012 11:00

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
Posts: 9135
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Apr 16, 2012 11:26

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:
viewtopic.php?p=170537#p170537
viewtopic.php?p=170538#p170538
viewtopic.php?p=170540#p170540

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest