Skip to content

Commit dd49def

Browse files
committed
release: update readme.txt for info on fbc32.exe and fbc64.exe on win32 platform
1 parent bdd8ea0 commit dd49def

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

contrib/release/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
# -winlibs-gcc-10.2.0 (winlibs mingwrt 8.0.0r8)
7272
# -winlibs-gcc-10.3.0 (winlibs mingwrt 8.0.0r1)
7373
# -equation-gcc-8.3.0 (Equation - experimental)
74+
# --use-libffi-cache"
75+
# don't build libffi, just use the cached files, from the last build
7476
#
7577
# Requirements:
7678
# - MSYS environment on Windows with: bash, wget/curl, zip, unzip, patch, make, findutils
@@ -85,10 +87,12 @@
8587
# - Starting from scratch everytime => clean builds
8688
# - Specifying the exact DJGPP/MinGW packages to use => reproducible builds
8789
# - Only work locally, e.g. don't touch existing DJGPP/MinGW setups on the host
90+
# - automatically pull in binaries that need to be distributed with the standalone packages
8891
#
8992
# TODO:
9093
# - win32: fbdoc CHM
9194
# - package libffi
95+
# - automate combining packages
9296
#
9397
set -e
9498

@@ -111,7 +115,8 @@ usage() {
111115
echo " --remote name specify the name to use for the alternate remote"
112116
echo " --recipe name specify a build recipe to use"
113117
echo " --use-libffi-cache"
114-
echo " don't build libffi, just use the chaced files"
118+
echo " don't build libffi, just use the cached files"
119+
echo " from the last build"
115120
exit 1
116121
}
117122

readme.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,23 @@
2626
FreeBASIC gives you the FreeBASIC compiler program (fbc or fbc.exe),
2727
plus the tools and libraries used by it. fbc is a command line program
2828
that takes FreeBASIC source code files (*.bas) and compiles them into
29-
executables.
29+
executables. In the combined standalone packages for windows, the main
30+
executable is named fbc32.exe (for 32-bit) and fbc64.exe (for 64-bit)
3031

3132
fbc is typically invoked by Integrated Development Environments (IDEs) or
3233
text editors, from a terminal or command prompt, or through build-systems
3334
such as makefiles. fbc itself is not a graphical code editor or IDE!
3435

3536
Win32 (similar for Win64):
36-
Download and extract latest FreeBASIC-x.xx.x-win32.zip or
37-
download and extract latest FreeBASIC-x.xx.x-win64.zip.
37+
Separate 32-bit and 64-bit standalone packages:
38+
Download and extract latest:
39+
- FreeBASIC-x.xx.x-win32.zip or FreeBASIC-x.xx.x-win32.7z for 32-bit
40+
- FreeBASIC-x.xx.x-win64.zip or FreeBASIC-x.xx.x-win64.7z for 64-bit
41+
Combined 32-bit and 64-bit standalone packages:
42+
Download and extract latest:
43+
- FreeBASIC-x.xx.x-gcc-winlibs-9.3.0.7z or
44+
- FreeBASIC-x.xx.x-gcc-5.2.0.7z
45+
- fbc32.exe and fbc64.exe are used instead of fbc.exe
3846

3947
Now you can use fbc.exe from the installation directory to compile FB
4048
programs (*.bas files) into executables (*.exe files). Open a command

0 commit comments

Comments
 (0)