Andrew,
I'll try and help you.
Attached is a Makefile and an irq handler for you to look at.
pull out all the unused objects in the makefile.
MOdify rtl.mk to suit your installation.
Look at this and ask some more questions.
Phil
Fixes to makefile
#
# Make file to demonstrate the additiopn of the sin function
#
#GCCLIB = /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/libgcc.a
all: simpleIrq.o
# simple9050.o\
# 9050tester\
# simpleSin_m.o\
# simpleWavem.o\
# simpleWaveim.o\
# simpleWaveIrqm.o\
# simpleFifom.o\
# fifo
Makefile
simpleIrq.c
rtl.mk