lordfp:building
Differences
This shows you the differences between two versions of the page.
| lordfp:building [2026-10-29 00:38] – created - external edit 127.0.0.1 | lordfp:building [2026-10-29 23:50] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| | Linux | '' | | Linux | '' | ||
| | DOS | '' | | DOS | '' | ||
| - | | Windows | '' | + | | Windows | '' |
| - | The code that differs is inside '' | + | The code that differs is inside '' |
| ===== The files ===== | ===== The files ===== | ||
| Line 52: | Line 52: | ||
| </ | </ | ||
| Steps 1-4 are only needed once. | Steps 1-4 are only needed once. | ||
| + | |||
| + | ===== The Windows version ===== | ||
| + | Free Pascal for Linux cross-compiles to Windows with its own linker; it only needs the x86_64-win64 units, built once from a clean Free Pascal 3.2.2 source (not the one patched for DOS): | ||
| + | <code bash> | ||
| + | git clone --depth 1 --branch release_3_2_2 https:// | ||
| + | cd fpcsrc-win64 | ||
| + | make all OS_TARGET=win64 CPU_TARGET=x86_64 FPC=ppcx64 | ||
| + | make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64 FPC=ppcx64 INSTALL_PREFIX=$HOME/ | ||
| + | </ | ||
| + | Then, in the source directory, '' | ||
| ===== How the DOS build fits in 640K ===== | ===== How the DOS build fits in 640K ===== | ||
lordfp/building.1793234317.txt.gz · Last modified: by 127.0.0.1
