A linux user with a working fpc installed has to follow these steps:
1. Download and extract the teensy.7z from
http://s000.tinyupload.com/?file_id=00033913163452451867 (md5:429001ba1aaa5c2ba566e77ff185eca0). You'll end up with a new directory "TEENSYDIRECTORY".
2. Download the latest fpc trunk sources into a directory: {FPC.SOURCE.DIRECTORY}.
3. If you want a light gui you can download and extract MSEide from
https://gitlab.com/mseide-msegui/mseide-msegui into a directory: {MSE.DIRECTORY}
Example:
https://gitlab.com/mseide-msegui/mseide-msegui/repository/archive.zip 4. You want to crosscompile for embedded arm, reason why you have to download and extract the linux archive found at
https://launchpad.net/gcc-arm-embedded/+download into a directory: {CROSSBINUTILS.DIRECTORY}
Example:
https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update/+download/gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2 5. Within the file TEENSYDIRECTORY/teensyparameters.txt update the following macros: {FPC.SOURCE.DIRECTORY}, {MSE.DIRECTORY} and {CROSSBINUTILS.DIRECTORY}. In order to avoid complications make sure you don't use relative paths(in linux the paths should start with "/home/...").
6. cd TEENSYDIRECTORY
7. ./fcsconsole_* teensyparameters.txt, where * is your platform.
The process will take a while because by default, it will try to build fpc for about six crosscompiling processes, which also include windows. You can comment the unwanted ones within "teensyparameters.txt" file.
FCS is a console application, reason why you should be able to use these steps in a tinylinux virtual machine, but you'll end up with text only environment.
If you want a GUI, try something like
www.damnsmalllinux.org, I've read it's only about 50MB in size. This should be the lightest way to have a virtual machine for embedded programming with a GUI. The reason behind it is that MSEide doesn't need libraries like gtk or qt. By the way, you'll end up with MSEide already partially configured.
THE DEVELOPMENT IS IN ALPHA STAGE!!! CREATE BACK-UPS, RUN IN SANDBOX...OR DON'T USE IT AL ALL!!!