debrouxl / gcc4ti

GCC4TI is a complete and mature GPL SDK for the TI-89, TI-89T, TI-92+ and TI-V200 (collectively known as TI-68k) calculators in the C and ASM languages.
https://github.com/debrouxl/gcc4ti
Other
86 stars 15 forks source link

Building and installing GCC4TI from Git:

$ cd trunk/tigcc-linux/scripts $ ./updatesrc (abort now and create a ticket if errors mentioning e.g. cp, rm, tar appear during the execution of updatesrc) $ cd ../gcc4ti-0.96b11 $ scripts/Install

Caution: the Win32 cross-build of the patched GCC 4.1.2 under Linux is known to yield a working GCC executable under Debian 7 "Wheezy" (GCC 4.6), but a broken GCC executable under Debian 8 "Jessie" (GCC 4.9) - floating-point values generated by the compiler are simply wrong. However, the native Linux build of the same patched GCC 4.1.2, under Debian Jessie and April 2016 Sid / Stretch, yields an executable which generates the correct floating-point values. Seems like the 10+-year-old (pre-GCC4TI) code of the GCC patch is broken in (at least) one more way.

$ cd trunk/tigcc-linux/scripts $ ./updatesrc $ ./package_src Then, on the target computer, you can proceed as described in the trunk/tigcc-linux/INSTALL file, which is, basically: