Hi. I'm the new maintainer. The package is fixed.
Once the package is installed, you need to edit the /etc/fpc.cfg file and add the following at the beginning, on the first line: (add a # before INCLUDE)
# INCLUDE /etc/fpc-mingw-w64.cfg
| Git Clone URL: | https://aur.archlinux.org/mingw-w64-fpc.git (read-only, click to copy) |
|---|---|
| Package Base: | mingw-w64-fpc |
| Description: | Free Pascal cross-compilers and RTL for the win32 (i386) and win64 (x86_64) targets |
| Upstream URL: | https://www.freepascal.org/ |
| Keywords: | fpc mingw mingw-w64 |
| Licenses: | GPL-2.0-only, LicenseRef-modifiedLGPL |
| Submitter: | Schala |
| Maintainer: | promano |
| Last Packager: | promano |
| Votes: | 2 |
| Popularity: | 0.000000 |
| First Submitted: | 2017-02-15 05:37 (UTC) |
| Last Updated: | 2026-08-31 06:57 (UTC) |
Hi. I'm the new maintainer. The package is fixed.
Once the package is installed, you need to edit the /etc/fpc.cfg file and add the following at the beginning, on the first line: (add a # before INCLUDE)
# INCLUDE /etc/fpc-mingw-w64.cfg
Even removing these lines the package no longer produces working cross compilers with current Arch Linux and FPC 3.2.2., flagged as obsolete.
I had to remove the following lines:
find "$pkgdir/usr/lib/fpc/$pkgver/units/x86_64-win64" -name '*.a' \`
-o -name '*.o' -exec x86_64-w64-mingw32-strip -g {} +
as MinGW's strip tool doesn't seem to like FPC's objects and fails with a bunch of illegal relocation type 0 at address 0.
Pinned Comments
promano commented on 2026-08-30 22:55 (UTC) (edited on 2026-10-13 13:51 (UTC) by promano)
Hi. I'm the new maintainer. The package is fixed.
Once the package is installed, you need to edit the
/etc/fpc.cfgfile and add the following at the beginning, on the first line: (add a # before INCLUDE)