I noticed on github fbc version is already up to 1.2.0. so I want to give it a try.I've already downloaded the source but failed to compile via:
mingw32-make makefile
Is there anybody would like to help on this kindly let me know the exact compiling command?
Thank you in advance.
How to build fbc (svn)
Re: How to build fbc (svn)
Use this link to find all the versions (Linux/Windows-32bit/64bit) built with the very last updates : https://users.freebasic-portal.de/stw/builds/
As I'm not comfortable with make I use a bat file to compile my own version. If you want I can provide it.
As I'm not comfortable with make I use a bat file to compile my own version. If you want I can provide it.
Re: How to build fbc (svn)
Yes,please.SARG wrote: ↑Oct 26, 2023 15:29 Use this link to find all the versions (Linux/Windows-32bit/64bit) built with the very last updates : https://users.freebasic-portal.de/stw/builds/
As I'm not comfortable with make I use a bat file to compile my own version. If you want I can provide it.
This is one of those I'd like to learn.
https://users.freebasic-portal.de/stw/builds/
And,how do I use those mingw additional libs?
Thank you very much.
Re: How to build fbc (svn)
I just followed this, don't remember having any problems with it.
https://freebasic.net/wiki/DevBuildWindows
The hardest part is knowing what things you can put on the make command line to change the build. But after you've set it all up, the basic compiler build is something like
32-bit compiler - make FBC=C:/freebasic32/fbc.exe MULTILIB=32 ENABLE_STRIPALL=1 compiler
64-bit compiler - make FBC=C:/freebasic/fbc.exe MULTILIB=64 ENABLE_STRIPALL=1 compiler
https://freebasic.net/wiki/DevBuildWindows
The hardest part is knowing what things you can put on the make command line to change the build. But after you've set it all up, the basic compiler build is something like
32-bit compiler - make FBC=C:/freebasic32/fbc.exe MULTILIB=32 ENABLE_STRIPALL=1 compiler
64-bit compiler - make FBC=C:/freebasic/fbc.exe MULTILIB=64 ENABLE_STRIPALL=1 compiler
Re: How to build fbc (svn)
You'll have to change the folder and exe names to match yours.
Anyway ask help if any problem
https://users.freebasic-portal.de/sarg/compil_all.zip
Anyway ask help if any problem
https://users.freebasic-portal.de/sarg/compil_all.zip
Re: How to build fbc (svn)
Thank you all.
Re: How to build fbc (svn)
To be precise :
- you only get the compiler (fbc.exe), not run time library (RTL) and not gfx lib.
- in case of new added modules (very rare) the bat files have to be completed.
- you only get the compiler (fbc.exe), not run time library (RTL) and not gfx lib.
- in case of new added modules (very rare) the bat files have to be completed.