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

For other topics related to the FreeBASIC project or its community.
fxm
Posts: 9123
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » May 21, 2012 20:01

Sebastian wrote:I've modified the build script in consequence of your helpful hint. A few minutes ago, the system finished uploading a new ZIP package for Windows. I hope it includes all the necessary files now. ;-)

Thank you very much. Now this is perfect.

Even better than with the previous SVN daily build because I was always obliged to duplicate the file "as.exe" into the directory "\libexec\gcc\mingw32\3.4.5" to satisfy "gcc.exe".
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

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

Postby MOD » Jul 31, 2012 8:58

Because of the last changes to the compiler, our build system is broken again and as we have audit period here, don't expect it to be fixed in the next couple of days.
fxm
Posts: 9123
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Aug 01, 2012 16:37

MOD wrote:Because of the last changes to the compiler, our build system is broken again and as we have audit period here, don't expect it to be fixed in the next couple of days.

It concerns the git-Daily-Builds at http://www.freebasic-portal.de/download ... uilds.html
fxm
Posts: 9123
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Sep 23, 2012 19:59

MOD wrote:Because of the last changes to the compiler, our build system is broken again and as we have audit period here, don't expect it to be fixed in the next couple of days.

Now it's been almost two months that there is no more build at http://www.freebasic-portal.de/downloads/daily-builds.html
fxm
Posts: 9123
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Oct 20, 2012 16:44

fxm wrote:
MOD wrote:Because of the last changes to the compiler, our build system is broken again and as we have audit period here, don't expect it to be fixed in the next couple of days.

Now it's been almost two months that there is no more build at http://www.freebasic-portal.de/downloads/daily-builds.html

@'freebasic-portal.de' team:
I did not get an answer to my above questionning.
Sebastian
Posts: 131
Joined: Jun 18, 2005 14:01
Location: Europe / Germany
Contact:

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

Postby Sebastian » Oct 22, 2012 17:36

Sorry for the delay concerning the renewed daily build system.

Right at the moment I'm very busy at university. Therefore, my open source community activities go on slowlier than normal.

A few words about the backgrounds: There have been significant changes to the build process. We were completely overtaken by these changes, while I had believed the new daily build system would fit for at least the next 12 months or something like that so I wouldn't have to reengineer it so soon.

I'm on it. Stay tuned. :-)

Sorry for the inconvenience.
fxm
Posts: 9123
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Oct 22, 2012 17:57

Big thank you for taking some of your time to answer me, and good luck for the work to be done!
fxm
Posts: 9123
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Nov 10, 2012 13:45

Sebastian wrote:I'm on it. Stay tuned. :-)

Sebastian and freebasic-portal.de,
I often look at your daily build page.
I am eager to recover your next build of fbc in order to try and test the new branch "virtual"!
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

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

Postby MOD » Nov 10, 2012 14:38

Well, sorry but time is a negative factor here. At least I have uploaded some new builds:
fbc 0.25 for Windows
fbc 0.25 for Linux

I put just the binaries in it, this should be enought to use the new version by replacing the files of a 0.24 installation.

VIRTUAL and ABSTRACT are new keywords. Here are short examples to show the difference in usage (first one without anything, second with VIRTUAL and last one with ABSTRACT):

Code: Select all

Type Animal Extends Object
   Declare Function speak() As String
End Type
Function Animal.speak() As String
   Return "Nope, I don't think so."
End Function

Type Dog Extends Animal
   Declare Function speak() As String
End Type
Function Dog.speak() As String
   Return "bark"
End Function
Type Cat Extends Animal
   Declare Function speak() As String
End Type
Function Cat.speak() As String
   Return "miow"
End Function

Dim As Animal Ptr bello = New Dog
Dim As Animal Ptr kitty = New Cat
Dim As Animal Ptr anyty = New Animal

Print bello->speak()
Print kitty->speak()
Print anyty->speak()

If *bello Is Dog Then
   Print "He's a dog"
Else
   Print "He's not a dog"
EndIf
If *bello Is Cat Then
   Print "He's a cat"
Else
   Print "He's not a cat"
EndIf

Sleep

Code: Select all

Type Animal Extends Object
   Declare Virtual Function speak() As String
End Type
Function Animal.speak() As String
   Return "Nope, I don't think so."
End Function

Type Dog Extends Animal
   Declare Function speak() As String
End Type
Function Dog.speak() As String
   Return "bark"
End Function
Type Cat Extends Animal
   Declare Function speak() As String
End Type
Function Cat.speak() As String
   Return "miow"
End Function

Dim As Animal Ptr bello = New Dog
Dim As Animal Ptr kitty = New Cat
Dim As Animal Ptr anyty = New Animal

Print bello->speak()
Print kitty->speak()
Print anyty->speak()

If *bello Is Dog Then
   Print "He's a dog"
Else
   Print "He's not a dog"
EndIf
If *bello Is Cat Then
   Print "He's a cat"
Else
   Print "He's not a cat"
EndIf

Sleep

Code: Select all

Type Animal Extends Object
   Declare Abstract Function speak() As String
End Type

Type Dog Extends Animal
   Declare Function speak() As String
End Type
Function Dog.speak() As String
   Return "bark"
End Function
Type Cat Extends Animal
   Declare Function speak() As String
End Type
Function Cat.speak() As String
   Return "miow"
End Function

Dim As Animal Ptr bello = New Dog
Dim As Animal Ptr kitty = New Cat
'Dim As Animal Ptr anyty = New Animal

Print bello->speak()
Print kitty->speak()
'Print anyty->speak()

If *bello Is Dog Then
   Print "He's a dog"
Else
   Print "He's not a dog"
EndIf
If *bello Is Cat Then
   Print "He's a cat"
Else
   Print "He's not a cat"
EndIf

Sleep


Edit: Commented out the declaration of 'anyty' in the third example as it's no more allowed.
Last edited by MOD on Dec 07, 2012 22:09, edited 1 time in total.
fxm
Posts: 9123
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Nov 10, 2012 15:33

- Thanks MOD, but when I compile even an empty program, I get the following error message:

Command executed:
"d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\fbc.exe" "d:\Documents and Settings\t0003830\Mes documents\FBIde0.4.6r4\FBIDETEMP.bas"

Compiler output:
d:\DOCUME~1\t0003830\MESDOC~1\FREEBA~1.0\bin\win32\ld.exe: cannot find -lgcc_eh

Results:
Compilation failed

System:
FBIde: 0.4.6
fbc: FreeBASIC Compiler - Version 0.25.0 (11-10-2012) for win32
OS: Windows XP (build 2600, Service Pack 3)
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

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

Postby MOD » Nov 10, 2012 15:45

Right, you need to copy the latest libs from gcc to FBs lib-folder. The official version is compiled with TDM-GCC, but I use the good old MinGW. You will find the libs under /lib/gcc/mingw32/4.7.0/.
fxm
Posts: 9123
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Nov 10, 2012 16:40

I do not have administrator rights on my PC Professional.
I downloaded this file: gcc-core-4.7.0-1-mingw32-bin.tar.lzma

Is it well because I get these errors with your first example (without virtual neither abstract):
Compiler output:
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(new_op.o):new_op.cc:(.text+0x30): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(new_op.o):new_op.cc:(.text+0x77): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(new_op.o):new_op.cc:(.text+0xcd): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_personality.o):eh_personality.cc:(.text+0x393): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_personality.o):eh_personality.cc:(.text+0x3bc): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_personality.o):eh_personality.cc:(.text+0x96e): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_personality.o):eh_personality.cc:(.text+0xa64): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x4d): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x94): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x18d): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x1c8): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x1f7): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x2e0): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x31d): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x352): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x442): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x47c): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x4a8): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_alloc.o):eh_alloc.cc:(.text+0x5a4): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_throw.o):eh_throw.cc:(.text+0x8d): undefined reference to `_Unwind_SjLj_RaiseException'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_throw.o):eh_throw.cc:(.text+0xf0): undefined reference to `_Unwind_SjLj_Resume_or_Rethrow'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x30): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x84): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_terminate.o):eh_terminate.cc:(.text+0xc6): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x12c): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x14d): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x187): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x1c0): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x1e1): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_terminate.o):eh_terminate.cc:(.text+0x21b): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_globals.o):eh_globals.cc:(.text+0xc3): undefined reference to `__shmem_grab'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_globals.o):eh_globals.cc:(.text+0xe7): undefined reference to `__shmem_grab'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_globals.o):eh_globals.cc:(.text+0x120): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_globals.o):eh_globals.cc:(.text+0x15a): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_globals.o):eh_globals.cc:(.text+0x1cf): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_globals.o):eh_globals.cc:(.text+0x208): undefined reference to `_Unwind_SjLj_Register'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_globals.o):eh_globals.cc:(.text+0x24e): undefined reference to `_Unwind_SjLj_Unregister'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_globals.o):eh_globals.cc:(.text+0x331): undefined reference to `_Unwind_SjLj_Resume'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_unex_handler.o):eh_unex_handler.cc:(.text+0x27): undefined reference to `__shmem_grab'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(eh_term_handler.o):eh_term_handler.cc:(.text+0x27): undefined reference to `__shmem_grab'
d:\Documents and Settings\t0003830\Mes documents\FreeBASIC-0.25.0\lib\win32/libsupc++.a(vterminate.o):vterminate.cc:(.text+0x30): undefined reference to `_Unwind_SjLj_Register'
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

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

Postby MOD » Nov 10, 2012 16:48

Download the package again, I've added the lib folder.
D.J.Peters
Posts: 7808
Joined: May 28, 2005 3:28

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

Postby D.J.Peters » Nov 10, 2012 16:58

will be all kind of class operators virtual and abstact too ?

Joshy
fxm
Posts: 9123
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

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

Postby fxm » Nov 10, 2012 17:06

Many thanks, MOD!
Now I can play with the virtual/abstract methods/destructors!

Just a little remark:
Impossibility to use resource script (.rc), even with 'bin\win32\windres.exe' requested by compiler.
But just for testing the branch "virtual", this is not important at all!
Last edited by fxm on Nov 10, 2012 20:11, edited 1 time in total.

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest