GCC Compiler Installation Instructions

This page is to aid in the installation of the TI-990 and TMS-9900 GCC Compiler. If you have any problems or comments, please contact me.

To build the compiler from the source distribution

  1. You will need to install the TI-990 cross assembler and linker (current versions shown). Download the compiler source and the libc library.

    asm990-2.4.5
    lnk990-2.3.2
    gcc-3.4.6-ti990-14.tar.gz
    ti990-libc-1.4.0

  2. Create a binary directory in which the compiler will be built.

    $ cd /your_source_dir
    $ mkdir gcc-bin

  3. Extract the sources.

    $ tar xzf gcc-3.4.6-ti990-14.tar.gz
    $ tar xzf asm990-2.4.1.tar.gz
    $ tar xzf lnk990-2.2.1.tar.gz
    $ tar xzf ti990-libc-1.4.0.tar.gz

  4. Make and install the assembler and linker.

    $ cd /your_source_dir/asm990
    $ make
    $ sudo make install
    $ cd /your_source_dir/lnk990
    $ make
    $ sudo make install

  5. Configure the compiler for DNOS:

    $ cd /your_source_dir/gcc-bin
    $ ../gcc-3.4.6/configure --enable-lanuages=c --with-ld=/usr/local/bin/lnk990 --with-as=/usr/local/bin/asm990 --target=ti990-ti-dnos

  6. Configure the compiler for DX10:

    $ cd /your_source_dir/gcc-bin
    $ ../gcc-3.4.6/configure --enable-lanuages=c --with-ld=/usr/local/bin/lnk990 --with-as=/usr/local/bin/asm990 --target=ti990-ti-dx10

  7. Now make the compiler.

    $ make

  8. Install the compiler for DNOS:

    $ sudo mkdir -p /usr/local/lib/gcc/ti990-ti-dnos/3.4.6
    $ cd /your_source_dir/gcc-bin/gcc
    $ sudo cp cc1 collect2 cpp gcov gcov-dump specs /usr/local/lib/gcc/ti990-ti-dnos/3.4.6/
    $ sudo cp xgcc /usr/local/bin/gcc-dnos

  9. Install the compiler for DX10:

    $ sudo mkdir -p /usr/local/lib/gcc/ti990-ti-dx10/3.4.6
    $ cd /your_source_dir/gcc-bin/gcc
    $ sudo cp cc1 collect2 cpp gcov gcov-dump specs /usr/local/lib/gcc/ti990-ti-dx10/3.4.6/
    $ sudo cp xgcc /usr/local/bin/gcc-dx10

  10. Install the libc libraries and headers:

    $ cd /your_source_dir/ti990-libc
    $ make
    $ sudo make install


This page is maintained by David Pitts. Please email with comments and corrections.
Last modified 2021/03/23.