Where can I get a Recent-Git-Build of FreeBASIC?
Re: Where get a Recent-Git-Build of FreeBASIC?
I'll check it.
edit: my mistake, sorry for the inconvenience, new version uploaded
edit: my mistake, sorry for the inconvenience, new version uploaded
Re: Where get a Recent-Git-Build of FreeBASIC?
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?
Re: Where get a Recent-Git-Build of FreeBASIC?
It's "include" now, not "inc".
Re: Where get a Recent-Git-Build of FreeBASIC?
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.
Re: Where get a Recent-Git-Build of FreeBASIC?
Thanks.MOD wrote:I'll check it.
edit: my mistake, sorry for the inconvenience, new version uploaded
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
Re: Where get a Recent-Git-Build of FreeBASIC?
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.
Re: Where get a Recent-Git-Build of FreeBASIC?
- GCC BACKEND bug report 1 ? : In graphic mode, compilation errors when using the compiler option -ex or -exx: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.
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'.
Re: Where get a Recent-Git-Build of FreeBASIC?
All 3 issues should be solved with the latest patch in Git. Thanks for testing.
Re: Where get a Recent-Git-Build of FreeBASIC?
New builds uploaded.
Re: Where get a Recent-Git-Build of FreeBASIC?
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)!!!
- 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)
Re: Where get a Recent-Git-Build of FreeBASIC?
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
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.
Re: Where get a Recent-Git-Build of FreeBASIC?
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 ?
but why include GNU assembler 2.15.94 and GNU ar 2.15.94 whereas GNU ld is version 2.22 ?
Re: Where get a Recent-Git-Build of FreeBASIC?
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.
Re: Where get a Recent-Git-Build of FreeBASIC?
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.MOD wrote:New builds uploaded.
C:\TEMP\dev\FBIDETEMP.bas(1) error 23: File not found, "windows.bi" in '#Include "windows.bi"'
Did I miss something ?
Re: Where get a Recent-Git-Build of FreeBASIC?
No problem for me!SARG wrote: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.MOD wrote:New builds uploaded.
C:\TEMP\dev\FBIDETEMP.bas(1) error 23: File not found, "windows.bi" in '#Include "windows.bi"'
Did I miss something ?
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