SlackBuilds Repository

15.0 > Development > fpc-mingw-w64 (3.2.2)

fpc-mingw-w64 provides Free Pascal cross compilers and RTL units for
32-bit and 64-bit Windows targets. It is intended for x86_64 Slackware
hosts and produces PE executables for i386-win32 and x86_64-win64.

mingw-w64-binutils is required and must be installed first.

The fpc package is not required. The SlackBuild uses the official FPC
binary archive only to build a temporary native bootstrap compiler. It
then rebuilds a native compiler from the packaged source and uses that
compiler to build both cross compilers. The downloaded bootstrap and
the temporary native compiler are not installed.

When the fpc package is installed, the cross compilers can be invoked
through the regular compiler driver:

fpc -Twin32 hello.pas
fpc -Twin64 hello.pas

They can also be invoked directly as ppcross386 and ppcrossx64.

To use the cross compilers standalone, add
'#INCLUDE /etc/fpc-mingw-w64.cfg' to /etc/fpc.cfg or ~/.fpc.cfg

This requires: mingw-w64-binutils

Maintained by: Pablo Romano
Keywords: fpc,mingw,cross,compiler
ChangeLog: fpc-mingw-w64

Homepage:
https://www.freepascal.org/

Source Downloads (64bit):
fpcbuild-3.2.2.tar.gz (3681ae4a208be4f64ec65e832a9a702d)
fpc-3.2.2.x86_64-linux.tar (0186779de0c9caee073fc1394afbee56)

Download SlackBuild:
fpc-mingw-w64.tar.gz
fpc-mingw-w64.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds