<html><head></head><body><div>On Thu, 2023-06-08 at 23:22 +0200, Abou Al Montacir wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Hi All,</div><div><br></div><div>On Thu, 2023-06-08 at 21:49 +0200, Abou Al Montacir wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><p>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>.</p><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><div>I need your advise about how to support this kind of features, which I'm interested in doing it and I actually started to do it.</div><div><br></div><div>I think that having a separate debian/control and debian/rules (debian/ folder as to make it short) to be applied on top of fpc-*.orig.tar.xz will be the easiest way to go here.</div><div><br></div><div>However I don't know if Debian allows to use same source project with two different packaging folders?</div><div>The idea is that fpc and fp-units-win be two completely different projecs, like Lazarus and qt4pas.</div><div>However, while Lazarus and qt4pas do not share same sources, and thus have two different .orig.tar.xz, here we will really use the very same source code.</div><div><br></div><div>Any advise?</div></blockquote><div>I have found similar project <a href="https://salsa.debian.org/toolchain-team/cross-toolchain-base/-/tree/master/debian">https://salsa.debian.org/toolchain-team/cross-toolchain-base/-/tree/master/debian</a></div><div>It uses a native package with *-source packages.</div><div>This is a good example to follow.</div><div><span><pre>-- <br></pre><pre>Cheers,
Abou Al Montacir
</pre></span></div></body></html>