Ben Cassell
unread,May 6, 2016, 3:51:07 PM5/6/16You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi all,
A student from a past term (Rollen) has graciously offered to make GCC
4.9 available to anyone who wants to try it as an alternative to 4.0.2.
According to Rollen:
If you would like to use GCC 4.9, add the appropriate sub-folders from
"/u/rs2dsouza/arm-none-eabi-gcc/" into your $PATH.
"./bin/" contains gcc, as, ld, objdump etc. The prefix used is
arm-none-eabi.
"./lib/" contains libgcc and CRT-related stuff.
The build only supports core C and libgcc (which means you have access
to modulus). It builds by default for ARM920T, but
Rollen also included some sample Makefile components using this
toolchain. Note that you would need to modify some components
of this (e.g. --entry) to get it working for your own setup:
Contents of Makefile:
-------------------------------------------------
XCC = /u/rs2dsouza/arm-none-eabi-gcc/bin/arm-none-eabi-gcc
AS = /u/rs2dsouza/arm-none-eabi-gcc/bin/arm-none-eabi-as
LD = /u/rs2dsouza/arm-none-eabi-gcc/bin/arm-none-eabi-ld
CP =
DM = /u/rs2dsouza/arm-none-eabi-gcc/bin/arm-none-eabi-objdump
OUT = t2.elf
HRDWR = ts7200
CFLAGS = -fPIC -O3 -Wall -Werror -nostdlib -nostartfiles -ffreestanding
-I. -mcpu=arm920t -msoft-float -DTARGET_TS7200
LDFLAGS = -Map bin/main.map -N -T make/loadmap.ld
-L/u/rs2dsouza/arm-none-eabi-gcc/lib/gcc/arm-none-eabi/4.9.0 --entry 0x50000
LDLIBS = -lgcc
ASFLAGS = -mcpu=arm920t -mapcs-32
ts7200_install: $(OUTDIR)/$(OUT)
cp $< /u/cs452/tftp/ARM/$(LOGNAME)