Tag Archives: Cross compiler

gcc for TI 68k calculators

I created couple of packages and script to make cross toolchain, gcc and binutils, to TI 68k calculators easier. Script from cvs didn’t work without changes.

What I had to do:

  • get gcc package from calcforge:s source rpm. Any 4.1 gcc from GNU site didn’t work.
  • get and repack tigcclib from calcforge:s source rpm
  • combine two cvs trees to one

See script for details: http://koti.kapsi.fi/jvaltane//gcc-ti/gcc-ti-build.sh

You can probably use source rpm to provide everything, but if you use the script do not forget to export TIGCC environment variable. After installation you also should add ${TIGCC}/bin to PATH.

Test configuration: 64-bit Ubuntu Oneiric, gcc v4.6.1
Tested TI examples: Hello World1 and Catalog

I got a lot of errors while compiling with gcc-4.6. calcforge provides binaries also to 64-bit Fedora so I think tools should behave well in 64-bit environment,

Source rpm: http://repo.calcforge.org/fedora/16/SRPMS/tigcc-0.96b08r1-2.src.rpm

VBCC Amiga M68k cross compiler

I wanted to compile cross compiler to the Linux which produces Amiga 68k binaries. So I needed 68k assembler. After some searching I decided to test vbcc, vasm and vlink. Long time ago I was using vbcc natively with Amiga and it worked nicely.

There is three different tools vbcc, vasm and vlink. Vbcc is iso C compiler. It supports C89 and subset of the C99. Vasm supports 68k, ppc, x86, 6502, arm, c16x/st10 and ColdFire assembly. Vlink can produce for example AmigaOS (68k/ppc/warpos), MorphOS and Atari MiNT binaries.

Why I want to do this? Amiga throws “guru meditation” too often with my 68k/Amiga assembly skills. It is also a lot easier and faster to use UAE for testing your binaries. Tools like editors, make are also same what I use to other development.

Instructions to compile and set up vbcc, vasm and vlink: vbcc-amiga-cross-compiler-to-linux.txt