GCC packages for reliable MaverickCrunch code generation

Martin Guy <martinwguy@yahoo.it>
Last updated: 7 October 2015


Here are packages of the GCC C compiler modified to produce reliable code for the MaverickCrunch floating point unit.

They run on, and generate code for, the armv4t EABI architecture as used in the Debian "armel", Gentoo embedded and Ångström GNU/Linux distributions among others.

To generate the fastest code, I use:

    gcc-4.3-crunch -mcpu=ep9312 -mfpu=maverick -mfloat-abi=softfp -ffast-math -O

Status

The 20090908 version has no known bugs for C. It doesn't restore floating point variables held in registers across a setjmp/longjmp call but that's a glibc issue.

Installation

On Debian "armel" systems, download the .deb file and say, as root, dpkg -i *.deb
The Debian package names are gcc-4.2-crunch and gcc-4.3-crunch in case you should wish to remove them later with dpkg -r

On other ARM Linux EABI systems, download the .tgz file and unpack it in the root directory with tar xzf *.tgz -C /

They install under /usr/local/{bin,lib,libexec} and do not affect the main system compilers.

For further details about them, as well as instructions for how to build the compiler from source, see martinwguy.co.uk/martin/crunch.

Download

Here are installable tarballs and Debian packages for the compiler and the corresponding patches to the GCC source code.

-rw-r--r-- 1 martin     1101 2009-03-20 17:45:37 README
-rw-r--r-- 1 martin     3697 2013-07-14 02:19:45 ChangeLog
-rw-r--r-- 1 martin  3822334 2009-09-08 14:27:32 gcc-4.2-crunch_4.2.4-20090908_armel.deb
-rw-r--r-- 1 martin  3834415 2009-09-08 14:25:36 gcc-4.2-crunch_4.2.4-20090908_armel.tgz
-rw-r--r-- 1 martin  3314608 2013-07-14 12:00:26 gcc-4.2-crunch_4.2.4-20130714_armel.deb
-rw-r--r-- 1 martin  3329641 2013-07-14 11:49:29 gcc-4.2-crunch_4.2.4-20130714_armel.tgz
-rw-r--r-- 1 martin    23650 2009-09-08 14:25:36 gcc-4.2.4-crunch-patches-20090908.tar.gz
-rw-r--r-- 1 martin    26421 2013-07-14 11:49:30 gcc-4.2.4-crunch-patches-20130714.tar.gz
-rw-r--r-- 1 martin  4611742 2011-05-19 17:20:58 gcc-4.3-crunch_4.3.4-20090908_armel.deb
-rw-r--r-- 1 martin  4629585 2011-05-19 17:11:44 gcc-4.3-crunch_4.3.4-20090908_armel.tgz
-rw-r--r-- 1 martin  4149454 2013-07-13 19:13:03 gcc-4.3-crunch_4.3.6-20130713_armel.deb
-rw-r--r-- 1 martin  4170499 2013-07-13 18:59:17 gcc-4.3-crunch_4.3.6-20130713_armel.tgz
-rw-r--r-- 1 martin    25061 2011-05-19 17:11:45 gcc-4.3.4-crunch-patches-20090908.tar.gz
-rw-r--r-- 1 martin    31078 2013-07-13 18:59:18 gcc-4.3.6-crunch-patches-20130713.tar.gz
-rw-r--r-- 1 martin  4672046 2013-07-14 20:30:24 gcc-4.4-crunch_4.4.7-20130714_armel.deb
-rw-r--r-- 1 martin  4685827 2013-07-14 20:23:50 gcc-4.4-crunch_4.4.7-20130714_armel.tgz
-rw-r--r-- 1 martin    26943 2013-07-06 00:36:39 gcc-4.4.7-crunch-patches-20130705.tar.gz
-rw-r--r-- 1 martin    27657 2013-07-14 20:23:51 gcc-4.4.7-crunch-patches-20130714.tar.gz

MD5sums

93da303c942080a6a5161b236dc9f752  gcc-4.2-crunch_4.2.4-20090908_armel.deb
db7683fe6c54147efa8f5c76648c59db  gcc-4.2-crunch_4.2.4-20090908_armel.tgz
281cdb8d8896b7b6fe8778fbcaa0dc03  gcc-4.2-crunch_4.2.4-20130714_armel.deb
2ce3bae7b0788c0495fc4b0435e5131d  gcc-4.2-crunch_4.2.4-20130714_armel.tgz
e6a32a492e668aaa1855028326870490  gcc-4.2.4-crunch-patches-20090908.tar.gz
60cde91b0ff08c3b170132803c3e1b64  gcc-4.2.4-crunch-patches-20130714.tar.gz
5872de02fef54a41dff0b438c9bfa627  gcc-4.3-crunch_4.3.4-20090908_armel.deb
bd5759e4eb2695448e6bb5bf9dcf2c1c  gcc-4.3-crunch_4.3.4-20090908_armel.tgz
f613d350bb0a2f5545bfa4c50eb852db  gcc-4.3-crunch_4.3.6-20130713_armel.deb
7d1a4c3e55b26bd127a5ceef24420c21  gcc-4.3-crunch_4.3.6-20130713_armel.tgz
6f9761cb653f62d0679c735fb6ed77be  gcc-4.3.4-crunch-patches-20090908.tar.gz
831e965650b7287aecc854d1c1661f08  gcc-4.3.6-crunch-patches-20130713.tar.gz
0c24b8dc188cffc6dd7b828f2feda5a2  gcc-4.4-crunch_4.4.7-20130714_armel.deb
de2c5cedb0006c704dd4dc8a170de9d5  gcc-4.4-crunch_4.4.7-20130714_armel.tgz
7353632b6abb10893156ec855b4c9a2e  gcc-4.4.7-crunch-patches-20130705.tar.gz
f0f1902d6c78b7710ffa74f7a2752571  gcc-4.4.7-crunch-patches-20130714.tar.gz

Martin Guy <martinwguy@gmail.com> Useful? Donate!