GCC 3.x toolchain for uClinux

This is a cross-compiler toolchain for uClinux targetting ColdFire and ARM processors. It is built using recent versions of GCC, binutils, GDB and uClibc.

The toolchain has been reported to build successfully hosted on several Linux distributions, Cygwin and Mac OS X (with minimal tweaks).


Changes in release 20040603:

Older Changes.


Please use the official uClinux mirror site (faster).

(files marked with [NEW] have been updated since the last release)

Binary packages

GCC 3.4.0 (Linux, i386, GLIBC >= 2.3, built on a Fedora Core 2 host):

GCC 3.4.0 (Linux, i386, GLIBC >= 2.2, built on a RedHat 7.2 host):

GCC 3.4.0 (Win32, i386, Cygwin 1.5.10, built on a Windows 2000 host):

Contact me for comments and suggestions: Bernardo Innocenti <bernie-nospam@develer.com> (remove -nospam).

Build/source directory: uclinux-tools-20040603/ [NEW]

Common files:
    build-uclinux-tools.sh [NEW]

    binutils- [ftp://ftp.kernel.org]

    uClibc-0.9.26.tar.bz2 [http://www.uclibc.org]
    uClibc-0.9.26-ptrace-lvalue.patch [NEW]
    uClibc-0.9.26-syscalls-inline.patch [NEW]

    gdb-6.1.tar.bz2 [ftp://gcc.gnu.org] [NEW]
    m68k-bdm-1.3.0.tar.bz2 [NEW]


For GCC 3.4.0:
    gcc-core-3.4.0.tar.bz2 [ftp://gcc.gnu.org]
    gcc-g++-3.4.0.tar.bz2 [ftp://gcc.gnu.org]
    gcc-3.4-addsi3_5200.patch [NEW]
    gcc-3.4-coldfire-2regoffset.patch [NEW]
    gcc-3.4-output_mi_thunk.patch [NEW]
    gcc-3.4.0-arm-deflibspec.patch [NEW]
    gcc-3.4.0-arm-multilib.patch [NEW]

What works

Known problems

Building C++ applications


    #include <iostream>
    int main()
        std::cout << "Hello, world!\n" << std::endl;

Compiling and linking a simple application:

    m68k-uclinux-g++ -m5307 -o hello hello.cpp

Compiling a source file:

    m68k-uclinux-g++ -m5307 -c -o hello.o hello.cpp

Linking object files to create a FLAT binary:

    m68k-uclinux-g++ -m5307 -Wl,-elf2flt='-s 32000' -o hello hello.o


This work has been sponsored by Develer S.r.l.
Develer - software solutions

Valid XHTML 1.0!

Copyright © 2003,2004 by Bernardo Innocenti