red.exe
on Windows, or just red
on macOS, and put it in the wallet sources folder at root level.red -r -t Windows wallet.red
red -r -t macOS wallet.red
wallet
executable in the same folder. You can further compress it using UPX if you want. In such case, we recommend adding the --no-compress
compilation option to the above command-lines in order to avoid using the internal Redbin compressor and let UPX do a better overall compression job.We assume Windows as the target platform in the following, but the steps are the same for every supported platform.
Locations used:
R:\
as the root of your storage location.R:\Rebol
as the storage location of REBOL/View.R:\red
as the storage location of the Red git repository or the Red binary.R:\wallet
as the storage location of the Wallet git repository.Steps to compile the Red wallet using the Red binary:
<location of the Red executable> -r -t <your cross-compilation target> -o <location of the generated binary file> <location of the wallet Red-script
R:\red-12jun18-e62b63d5.exe -r -t Windows -o wallet/wallet.exe wallet/wallet.red
Please wait until the compilation of the wallet has finished.
The produced binary, in our case R:\wallet\wallet.exe
is a complete application. There is no installation, configuration files or registry entries needed or created. Just use it.
Steps to compile the Red wallet using the Red source:
git clone https://github.com/red/red.git
git clone https://github.com/red/wallet.git
<location of the REBOL/View executable> +s <location of the red.r REBOL-script> -r -t <your cross-compilation target> -o <location of the generated binary file> <location of the wallet Red-script
R:\Rebol\rebol-view-278-3-1.exe +s R:\red\red.r -r -t Windows -o R:\wallet\wallet R:\wallet\wallet.red
A REBOL/View does pop up and close after the compilation of the wallet has finished.
The produced binary, in our case R:\wallet\wallet.exe
is a complete application. There is no installation, configuration files or registry entries needed or created. Just use it.