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.
HTML C++ C Pascal Assembly Tcl Other
Switch branches/tags
Nothing to show
Latest commit 9bbe32d Apr 20, 2016 @debrouxl debrouxl *nix tigcc: fix stack-based (but not arbitrary length) buffer overflo…
…w which has been there since 2005, reported by Peter "z0d" Barabas. It also showed up on the next day in my own toolchain cross-build tests for the previous commit, as well as native builds for Travis "tev" Evans several days later.
Permalink
Failed to load latest commit information.
branches ktigcc 1 & 2: invoke "tigcc-patcher" instead of "patcher". Dec 25, 2011
pool * Create "latest" symlinks to the pool's A68k, binutils and gcc (syml… Jun 30, 2009
tags Big commit, change the properties of a lot of text file to use native… Jan 8, 2009
trunk *nix tigcc: fix stack-based (but not arbitrary length) buffer overflo… Apr 20, 2016
README README: add a note about broken patched GCC 4.1.2 versions being cros… Apr 20, 2016
a68k.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
alloc.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
args.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
asminfo.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
asmtypes.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
assert.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
bascmd.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
basfunc.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
basop.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
catalog.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
cert.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
comopts.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
compat.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
contact.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
copyright.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
cpp.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
ctype.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
default.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
dialogs.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
dll.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
doors.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
error.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
estack.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
events.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
faq.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
files.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
flash.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
flashapp.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
float.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
gdraw.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
gnuasm.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
gnuexts.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
gnugpl.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
graph.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
graphing.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
gray.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
hdrindex.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
history.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
homescr.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
htdll.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
htdoors.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
htfloats.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
htnostub.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
htretval.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
htretvar.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
htsymb.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
httigcc.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
ide.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
index.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
info.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
intr.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
inttypes.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
iso646.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
kbd.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
keywords.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
ld.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
limits.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
link.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
math.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
mem.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
menus.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
nostub.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
opers.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
peekpoke.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
printf.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
rsa.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
setjmp.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
sprites.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
statline.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
stats.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
stdarg.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
stdbool.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
stddef.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
stdint.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
stdio.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
stdlib.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
string.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
system.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
textedit.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
tigcclib.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
timath.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
unknown.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
values.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
vat.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
version.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011
wingraph.html Add the GCC4TI documentation under the form of Github Pages. Oct 5, 2011

README

Building and installing GCC4TI from Git:
========================================

* After cloning the repository, building and installing GCC4TI is a matter of
executing the "updatesrc" script located in the trunk/tigcc-linux/scripts
folder, and then executing the install script:

$ 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.

* You may also want to build a tarball that you can transfer to another
computer and install later. It's the "gcc4ti_src.tar.bz2" file mentioned in
the trunk/tigcc-linux/INSTALL file:

$ 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:
    * copy, or symlink, to the build directory, the files whose path in the
      GCC4TI repository is:
pool/b/binutils-2.16.1.tar.bz2
pool/g/gcc-core-4.1.2.tar.bz2
    * run scripts/Install