Prepare the toolchains
mkdir -p src
cd src
wget https://www.dropbox.com/s/bfas3u8cc0av77k/CrossCompiler.tar.gz
tar -zxvf CrossCompiler.tar.gz
Add the cross compilers binary path to a system PATH variable export PATH=$PATH:~/src/sh4-unknown-linux-gnu/bin, alternatively, add this command to ~/.bashrc file.
Compile the plugins
git clone https://github.com/Vitaliy69/FortisPlugins.git
cd FortisPlugins/plugins/
./build.sh
Check for output binaries the directory FortisPlugins-bin in your home path.