Build CC is a simple script to automate building cross compilers using the GNU toolchain.  It can be used to produce cross-compilers for arbitrary platforms.  Platform-specific headers and libraries are collected using the "<tt><a script.

The <a has additional details.

Tested platforms are:
<table class="wikit_table">
  <tr class="wikit_table_header">
    <th class="wikit_table_header_cell">Platform</th>
    <th class="wikit_table_header_cell">Multilib?</th>
  </tr>
  <tr class="wikit_table_row_odd">
    <td>arm-android9-linux-androideabi</td>
    <td>No</td>
  </tr>
  <tr class="wikit_table_row_even">
    <td>arm-slackware-linux-gnueabi</td>
    <td>No</td>
  </tr>
  <tr class="wikit_table_row_odd">
    <td>hppa64-hp-hpux11.11</td>
    <td>No</td>
  </tr>
  <tr class="wikit_table_row_even">
    <td>i386-pc-solaris2.10</td>
    <td>Yes
  </tr>
  <tr class="wikit_table_row_odd">
    <td>sparc-sun-solaris2.10</td>
    <td>Yes
  </tr>
  <tr class="wikit_table_row_even">
    <td>sparc-sun-solaris2.8</td>
    <td>Yes
  </tr>
  <tr class="wikit_table_row_odd">
    <td>x86_64-slackware-linux</td>
    <td>No</td>
  </tr>
  <tr class="wikit_table_row_even">
    <td>x86_64-unknown-freebsd8</td>
    <td>No</td>
  </tr>
  <tr class="wikit_table_row_odd">
    <td>x86_64-unknown-netbsd5</td>
    <td>Yes
  </tr>
  <tr class="wikit_table_row_odd">
    <td>aarch64-generic-linux-gnu</td>
    <td>No</td>
  </tr>
</table>

This script is most well tested on Linux.  That is, building cross-compilers that run on Linux and that produce binaries for various platforms.