<html><head></head><body><p>Hi Patrick,</p><p>On Tue, 6 Jun 2023 08:38:00 +0000 Patrick Schleizer <[<a href="mailto:adrelanos@whonix.org">adrelanos@whonix.org</a>](mailto:<a href="mailto:adrelanos@whonix.org">adrelanos@whonix.org</a>)> wrote:</p><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><p>Package: fpc<br>Severity: wishlist</p><p>Dear maintainer,</p><p>when compiling fpc from upstream, folder<br>/usr/lib/fpc/3.2.2/units/x86_64-win64 would contain dependencies<br>required for cross-compilation.<br></p><p></p></blockquote><div>Yes, indeed, this would allow compiling Windows binaries under Debian. which can be a nice way for in cloud build automation.</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><p>(source: Building on Debian, target: compilation for Windows 64 bit)</p><p>However, Debian lacks the pre-compiled dependencies for<br>windows that would normally reside in that folder when compiling from<br>fpc upstream sources.</p><p>In Debian this would be<br>/usr/lib/fpc/3.2.2/units/x86_64-ms-win64/fpc/3.2.2/units/x86_64-win64 in<br>comparison to /usr/lib/x86_64-linux-gnu/fpc/3.2.2/units/x86_64-linux<br>that are used for amd64 and other architectures.</p></blockquote><div>After thinking about it, it would probably better to locate them in <i>/usr/lib/x86_64-linux-gnu/fpc/3.2.2/units/x86_64-win64</i>.</div><div>This is because the <span style="font-size: 14.666667px;">x86_64-linux-gnu here is related to the used compiler.</span></div><div>This also will help to generate the same thing for win32 under <i style="font-size: 14.666667px;">/usr/lib/i386-linux-gnu/fpc/3.2.2/units/i386-win32</i><span style="font-size: 14.666667px;">.</span></div><div><br></div><div>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.</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote><pre><code>--  
Cheers,  
Abou Al Montacir

</code></pre></body></html>