From dd49defd6eec54c5c1c5bb037ff4802248f28229 Mon Sep 17 00:00:00 2001 From: coderJeff Date: Sun, 30 May 2021 10:02:10 -0400 Subject: [PATCH] release: update readme.txt for info on fbc32.exe and fbc64.exe on win32 platform --- contrib/release/build.sh | 7 ++++++- readme.txt | 14 +++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/contrib/release/build.sh b/contrib/release/build.sh index 54ed92216c..4221014761 100755 --- a/contrib/release/build.sh +++ b/contrib/release/build.sh @@ -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 @@ -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 @@ -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 } diff --git a/readme.txt b/readme.txt index 2a5274db1e..a81752dc6f 100644 --- a/readme.txt +++ b/readme.txt @@ -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