[coldfire-gnu-discuss] save value at 0x1000090C with board 5485
Carlos O'Donell
carlos at codesourcery.com
Fri Feb 2 16:48:47 UTC 2007
On Thu, Feb 01, 2007 at 09:12:22PM -0600, Ha Luong wrote:
> c:/codesourcery/sourcerygpp/bin/../lib/gcc/m68k-elf/4.1.1/../../../../m68k-elf/bin/as.exe
> -mcpu=5485 -o main.o main.s
Ha,
Please add the following two lines to the start of your program to
provide a definition for printf():
#include <stdlib.h>
#include <stdio.h>
Could you provide the final link step to produce the output binary that
you run on your target hardware? I only see the intermediate step used
to build main.o.
Have you written your own version of printf()?
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos at codesourcery.com
(650) 331-3385 x716
More information about the coldfire-gnu-discuss
mailing list