That seems to have fixed it. I changed -DFM_ARM to -DFPM_DEFAULT in the makefile and it compiled fine.
So even though i had used the --disable-aso and --enable-fpm=arm options -DFPM was still set to ARM and needed setting to DEFAULT manually
It seems that --enable-fpm-default is not working properly.
Anyway the program runs fine now in armulator set as an ARM7D. We get a funny error message about 'program finished in step' when trying to run it on the board using angel debug. I will try again tomorrow using a multi-ice an see if it is any different.
Thanks for all the help everyone.
On Thu, 06 Jun 2002 15:14:47 -0700 Eckhart Koeppen eck@40hz.org wrote:
Gareth Bransby wrote:
This is the last line before the errors are reported. It seems to
be
compiling synth.
/home/gar/install/bin/arm-elf-gcc -DHAVE_CONFIG -I. -I. -I. -DFPM_ARM -Wall -O -mcpu=arm7di -fforce-mem -fforce-addr
As far as I remeber, FPM_ARM shouldn't be there... for the Newton port, I used FPM_DEFAULT. It looks like a configuration issue with the Makefile, configure, etc.
Eckhart
-- -- eck@40hz.org -- www.40hz.org --