https://parisc.wiki.kernel.org/index.php?title=Cross_compiler_toolchain&feed=atom&action=historyCross compiler toolchain - Revision history2024-03-28T12:09:14ZRevision history for this page on the wikiMediaWiki 1.19.24https://parisc.wiki.kernel.org/index.php?title=Cross_compiler_toolchain&diff=9382&oldid=prevDeller: /* How to build the kernel */2022-03-24T07:12:49Z<p><span dir="auto"><span class="autocomment">How to build the kernel</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:12, 24 March 2022</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 18:</td>
<td colspan="2" class="diff-lineno">Line 18:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   make ARCH=parisc menuconfig</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   make ARCH=parisc menuconfig</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   make ARCH=parisc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   make ARCH=parisc</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Before Kernel v5.17 you need to give CROSS_COMPILE= on the command line when cross-compiling, e.g.:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  make ARCH=parisc CROSS_COMPILE=hppa64-linux-gnu-  # to build a 32- or 64-bit kernel (depending on the value in the .config file)</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Starting with Kernel v5.17 you don't need to give CROSS_COMPILE= on the command line any longer, just run:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Starting with Kernel v5.17 you don't need to give CROSS_COMPILE= on the command line any longer, just run:</div></td></tr>
</table>Dellerhttps://parisc.wiki.kernel.org/index.php?title=Cross_compiler_toolchain&diff=9381&oldid=prevDeller: /* How to build the kernel */2022-03-24T07:10:24Z<p><span dir="auto"><span class="autocomment">How to build the kernel</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:10, 24 March 2022</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 18:</td>
<td colspan="2" class="diff-lineno">Line 18:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   make ARCH=parisc menuconfig</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   make ARCH=parisc menuconfig</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   make ARCH=parisc</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   make ARCH=parisc</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Starting with Kernel v5.17 you don't need to give CROSS_COMPILE= on the command line any longer, just run:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  make ARCH=parisc                        # to build a 32-bit kernel</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  or</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  make ARCH=parisc64                      # to build a 64-bit kernel</ins></div></td></tr>
</table>Dellerhttps://parisc.wiki.kernel.org/index.php?title=Cross_compiler_toolchain&diff=8831&oldid=prevDeller: Created page with "Cross compiling the Linux kernel for PA-RISC is easy nowadays: == Debian == apt install gcc-hppa-linux-gnu gcc-hppa64-linux-gnu == Fedora == yum install gcc-hppa64-..."2019-04-04T06:21:54Z<p>Created page with "Cross compiling the Linux kernel for PA-RISC is easy nowadays: == Debian == apt install gcc-hppa-linux-gnu gcc-hppa64-linux-gnu == Fedora == yum install gcc-hppa64-..."</p>
<p><b>New page</b></p><div>Cross compiling the Linux kernel for PA-RISC is easy nowadays:<br />
<br />
== Debian ==<br />
<br />
apt install gcc-hppa-linux-gnu gcc-hppa64-linux-gnu<br />
<br />
== Fedora ==<br />
<br />
yum install gcc-hppa64-linux-gnu gcc-hppa-linux-gnu binutils-hppa64-linux-gnu binutils-hppa-linux-gnu<br />
<br />
== Download prebuilt cross compilers for PA-RISC ==<br />
<br />
* [https://www.kernel.org/pub/tools/crosstool/ Latest cross-compilers on kernel.org by Arnd Bergmann] <br />
* [http://git.infradead.org/users/segher/buildall.git Segher Boessenkool toolchain]<br />
<br />
== How to build the kernel ==<br />
<br />
make ARCH=parisc menuconfig<br />
make ARCH=parisc</div>Deller