Name | Modified | Size | Downloads / Week |
---|---|---|---|
fbcwin-1.07.1-win32-cross-Linux.tar.bz2 | 2020-04-15 | 17.7 MB | |
fbc32_1.07.1_multi.snap | 2020-04-11 | 75.7 MB | |
fbc32-snap-source.tar.bz2 | 2020-04-11 | 3.9 MB | |
fbc-snap-README.txt | 2020-04-11 | 1.1 kB | |
fbc_1.07.1_amd64.snap | 2020-04-11 | 74.5 MB | |
freebasic-docs.tar.bz2 | 2020-04-11 | 155.8 kB | |
fbc-snap-source.tar.bz2 | 2020-04-11 | 4.2 MB | |
Totals: 7 Items | 176.1 MB | 0 |
This is an attempt to create a snap package containing a working FreeBASIC compiler (fbc). REASON: Create executables that are compatible with older distros, without the need to have multiple distros or virtual machines installed. HOW TO CREATE THE SNAP PACKAGE: Open a terminal in the same folder the 'snapcraft.yaml' is located. If you don't have snapcraft, install it. Run 'snapcraft'. HOW TO INSTALL THE SNAP PACKAGE: Run 'snap install --devmode --dangerous fbc_1.07.1_amd64.snap'. Or 'snap install --devmode --dangerous fbc32_1.07.1_amd64.snap' for the 32-bit version. ISSUES: It seems ld can't find the libraries inside the snap directory structure, and I don't know the proper solution to that. I had to make symlinks to some unused directories where ld will search for libraries. Ugly but works. HOW TO USE THE COMPILER: It's in '/snap/bin/fbc', or '/snap/bin/fbc32' for the 32-bit version. Try to compile stuff with it as you would normally. The .bas file to compile must be somewhere the snap can access, like the home/user folder.