<html><head></head><body><div>Hi Peter,</div><div><br></div><div>On Fri, 2023-03-10 at 13:22 +0000, Peter B wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>On 10/03/2023 10:11, Abou Al Montacir wrote:<br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>It calls something like /dirname `gcc -m32 -print-libgcc-file-name`/<br></div><div>-- <br></div><div>Cheers,<br></div><div>Abou Al Montacir<br></div></blockquote><div><br></div><div>That comes from GetGccDirArch in fppkg/src/fpmkunitsrc.inc & fpmkunit/src/fpmkunit.pp<br></div></blockquote><div>Yes indeed.</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><br></div><div>but that case statement does not include mipsel, and has no else/otherwise!<br></div><div>I'm mystified.<br></div></blockquote><div>This means probably that we forgot about it. Please check the following chunk from <i><font face="monospace" size="3">install/debian/patches/add-arm64-support.patch</font></i> and try to add a similar patch.</div><div> </div><pre>   // Useful</pre><pre>@@ -2641,6 +2641,7 @@ begin</pre><pre>       x86_64:   result := GetGccDirArch('cpux86_64','-m64');</pre><pre>       powerpc:  result := GetGccDirArch('cpupowerpc','-m32');</pre><pre>       powerpc64:result := GetGccDirArch('cpupowerpc64','-m64');</pre><pre>+      aarch64:  result := GetGccDirArch('cpuaarch64','');</pre><pre>     end {case}</pre><pre>   else if OS = darwin then</pre><pre>     case CPU of</pre><pre>@@ -2648,6 +2649,8 @@ begin</pre><pre>       x86_64:   result := GetGccDirArch('cpux86_64','-arch x86_64');</pre><pre>       powerpc:  result := GetGccDirArch('cpupowerpc','-arch ppc');</pre><pre>       powerpc64:result := GetGccDirArch('cpupowerpc64','-arch ppc64');</pre><pre>+      { this target uses clang }</pre><pre>+      aarch64:  result := ''</pre><pre>     end; {case}</pre><pre> end;</pre><div> </div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div><br></div><div>However, if the call for mipsel (wherever it is) uses -m32 then that maybe the problem,<br></div><div>as the mipsel gcc files are in /12 not /12/32</div></blockquote><div>The <i>-m32</i> in my previous mail was just a matter of example. I don't know what mipsel needs, but assumer it was 32 bits. However it may be not needed.<br class="Apple-interchange-newline">-- <br></div><pre style="caret-color: rgb(46, 52, 54); color: rgb(46, 52, 54); font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;">Cheers,
Abou Al Montacir</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote></body></html>