Hi Patrick, On Tue, 6 Jun 2023 08:38:00 +0000 Patrick Schleizer <[[email protected]](mailto:[email protected])> wrote: > Package: fpc > Severity: wishlist > Dear maintainer, > when compiling fpc from upstream, folder > /usr/lib/fpc/3.2.2/units/x86_64-win64 would contain dependencies > required for cross-compilation. Yes, indeed, this would allow compiling Windows binaries under Debian. which can be a nice way for in cloud build automation. > (source: Building on Debian, target: compilation for Windows 64 bit) > However, Debian lacks the pre-compiled dependencies for > windows that would normally reside in that folder when compiling from > fpc upstream sources. > In Debian this would be > /usr/lib/fpc/3.2.2/units/x86_64-ms-win64/fpc/3.2.2/units/x86_64-win64 in > comparison to /usr/lib/x86_64-linux-gnu/fpc/3.2.2/units/x86_64-linux > that are used for amd64 and other architectures. After thinking about it, it would probably better to locate them in /usr/lib/x86_64-linux-gnu/fpc/3.2.2/units/x86_64-win64. This is because the x86_64-linux-gnu here is related to the used compiler. This also will help to generate the same thing for win32 under /usr/lib/i386- linux-gnu/fpc/3.2.2/units/i386-win32.
This may be considered as a separate project that builds on top of FPC in order to avoid complicating more the build system of FPC which is already quite complex. -- Cheers, Abou Al Montacir
signature.asc
Description: This is a digitally signed message part

