<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/30/19 1:42 PM, Ludovic Rousseau
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGstE8DWE7n2_fr1z9GL7wNF=gb0Sb06hNUAwnU+L6vEH236TA@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">Le mar. 29 oct. 2019 à 21:15, Frédéric Trouche <a class="moz-txt-link-rfc2396E" href="mailto:fred@linuxtribe.org"><fred@linuxtribe.org></a> a
écrit :> Hi all,
Hello Fred,
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">For information, I tried to integrate a Docker image to cross-compile Grisbi to Unbuntu 32 & 64-bit.
Check <a class="moz-txt-link-freetext" href="https://github.com/xfred81/grisbi/tree/ubuntu-docker-builds">https://github.com/xfred81/grisbi/tree/ubuntu-docker-builds</a> if you're interested.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
You compile Grisbi but does not generate .deb packages. Right?</pre>
</blockquote>
That's it. It's only about compilation, not packaging for now (yet
packaging could be addressed this way too).<br>
<blockquote type="cite"
cite="mid:CAGstE8DWE7n2_fr1z9GL7wNF=gb0Sb06hNUAwnU+L6vEH236TA@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">
Why do you write "cross-compile"?
You just compile Grisbi for Ubuntu on an Ubuntu system (in a kind of
virtual machine called Docker). Am I missing something?</pre>
</blockquote>
<p>Indeed, "cross-compile" reflects a quite uncommon situation here,
as, you're right, no cross-compiler has been setup.</p>
<p>Yet, from the Docker's host point-of-view, the Docker's embedded
GCC here compiles to Ubuntu, using Ubuntu's native layout.<br>
</p>
<p>Also, thanks to QEMU (32 or 64-bit), we add another "abstraction"
on architecture: a 64-bit OpenSUSE can be used to build 32 &
64-bit Ubuntu's binaries using *native* related compilers.</p>
<p>This is a kind of cross-compilation, my view.</p>
<p>To clarify it, following combination of QEMU/Docker could be set
up, with straighter relations with classical cross-compiling:<br>
</p>
<ul>
<li>Embedding a ready-to-use GCC mingw32 cross-compiler on Docker
image and use wine to package Grisbi through NSIS,</li>
<li>Using native ARM compiler through QEMU to build Linux ARM
binaries,</li>
<li>Maybe, finally, targetting Darwin (not tested, but I tried
previous examples on another project).</li>
</ul>
<p>Former integrations of Ubuntu were just a kind of PoC, in fact.</p>
<p><br>
Fred -<br>
</p>
<blockquote type="cite"
cite="mid:CAGstE8DWE7n2_fr1z9GL7wNF=gb0Sb06hNUAwnU+L6vEH236TA@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">
Bye
</pre>
</blockquote>
</body>
</html>