<div dir="ltr">You can try looking at the cross-gcc PortGroup: <a href="https://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl" rel="noreferrer">https://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/crossgcc-1.0.tcl</a><div>

<br></div><div>(There is a cross-binutils PortGroup as well)</div><div><br></div><div>As far as your specific build error goes, it looks like it is due to texinfo. Have you tried using texinfo4 instead to see if this is a texinfo4-vs-texinfo5 incompatibility? See the wiki page on installing an older port for how to do that:</div>

<div><a href="https://trac.macports.org/wiki/howto/InstallingOlderPort" rel="noreferrer">https://trac.macports.org/wiki/howto/InstallingOlderPort</a><br></div><div><br></div><div>(of course it would be easier to test that if we had separate texinfo4 and texinfo5 ports that were both currently available in trunk, but it looks like that will not be happening...)</div>

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 6, 2014 at 1:19 PM, &quot;René J.V. Bertin&quot; <span dir="ltr">&lt;<a href="mailto:rjvbertin@gmail.com" target="_blank">rjvbertin@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I&#39;d be very interested in having a cross-compiler for x86_64-elf-linux-gnu on OS X. Since there&#39;s no such cross-compiler in MacPorts, I&#39;m trying to build one myself, following these instructions: <a href="http://wiki.osdev.org/GCC_Cross-Compiler#The_Build" target="_blank">http://wiki.osdev.org/GCC_Cross-Compiler#The_Build</a><br>


<br>
This gave me a working binutils install, but when I continue following the instructions (just adding support for a few more languages), the build process fails in<br>
<br>
&gt; build/genhooks -d ../../gcc-4.8-4.8.2/gcc-4.8.2/gcc/doc/<a href="http://tm.texi.in" target="_blank">tm.texi.in</a> &gt; tmp-tm.texi<br>
genhooks: No place specified to document hook TARGET_ASM_OPEN_PAREN<br>
<br>
I could do without building the documentation, but found no option to opt for that solution.<br>
<br>
Any ideas from the people who maintain the few gcc cross-compiling ports in MacPorts?<br>
<br>
<br>
R.<br>
_______________________________________________<br>
macports-users mailing list<br>
<a href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a><br>
<a href="https://lists.macosforge.org/mailman/listinfo/macports-users" target="_blank">https://lists.macosforge.org/mailman/listinfo/macports-users</a><br>
</blockquote></div><br></div>