Skip to content

Commit

Permalink
release: update readme.txt for info on fbc32.exe and fbc64.exe on win…
Browse files Browse the repository at this point in the history
…32 platform
  • Loading branch information
jayrm committed May 30, 2021
1 parent bdd8ea0 commit dd49def
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
7 changes: 6 additions & 1 deletion contrib/release/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
# -winlibs-gcc-10.2.0 (winlibs mingwrt 8.0.0r8)
# -winlibs-gcc-10.3.0 (winlibs mingwrt 8.0.0r1)
# -equation-gcc-8.3.0 (Equation - experimental)
# --use-libffi-cache"
# don't build libffi, just use the cached files, from the last build
#
# Requirements:
# - MSYS environment on Windows with: bash, wget/curl, zip, unzip, patch, make, findutils
Expand All @@ -85,10 +87,12 @@
# - Starting from scratch everytime => clean builds
# - Specifying the exact DJGPP/MinGW packages to use => reproducible builds
# - Only work locally, e.g. don't touch existing DJGPP/MinGW setups on the host
# - automatically pull in binaries that need to be distributed with the standalone packages
#
# TODO:
# - win32: fbdoc CHM
# - package libffi
# - automate combining packages
#
set -e

Expand All @@ -111,7 +115,8 @@ usage() {
echo " --remote name specify the name to use for the alternate remote"
echo " --recipe name specify a build recipe to use"
echo " --use-libffi-cache"
echo " don't build libffi, just use the chaced files"
echo " don't build libffi, just use the cached files"
echo " from the last build"
exit 1
}

Expand Down
14 changes: 11 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,23 @@
FreeBASIC gives you the FreeBASIC compiler program (fbc or fbc.exe),
plus the tools and libraries used by it. fbc is a command line program
that takes FreeBASIC source code files (*.bas) and compiles them into
executables.
executables. In the combined standalone packages for windows, the main
executable is named fbc32.exe (for 32-bit) and fbc64.exe (for 64-bit)

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

Win32 (similar for Win64):
Download and extract latest FreeBASIC-x.xx.x-win32.zip or
download and extract latest FreeBASIC-x.xx.x-win64.zip.
Separate 32-bit and 64-bit standalone packages:
Download and extract latest:
- FreeBASIC-x.xx.x-win32.zip or FreeBASIC-x.xx.x-win32.7z for 32-bit
- FreeBASIC-x.xx.x-win64.zip or FreeBASIC-x.xx.x-win64.7z for 64-bit
Combined 32-bit and 64-bit standalone packages:
Download and extract latest:
- FreeBASIC-x.xx.x-gcc-winlibs-9.3.0.7z or
- FreeBASIC-x.xx.x-gcc-5.2.0.7z
- fbc32.exe and fbc64.exe are used instead of fbc.exe

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

0 comments on commit dd49def

Please sign in to comment.