[gccsdk] Making R3 Cross-compiler
John.Tytgat at aaug.net
Tue Jul 31 14:44:54 PDT 2007
In message <c3de330b4f.admin at snowstone.org.uk>
Adam <lists at snowstone.org.uk> wrote:
> I've just been trying to make release three of GCCSDK 3.4.6 but ended
> with an error. I followed the instructions on the Using GCCSDK page
> except I entered the gccsdk/gcc directory and did an "svn update" rather
> than checking everything out again. Any pointers for what I've done
> make: Leaving directory `/home/adam/gccsdk/gcc/riscos-progs/diff'
> make -C bison
> make: Entering directory `/home/adam/gccsdk/gcc/riscos-progs/bison'
> lex -t scan-gram.l > scan-gram.c
> /bin/sh: lex: command not found
> make: *** [scan-gram.c] Error 127
> make: Leaving directory `/home/adam/gccsdk/gcc/riscos-progs/bison'
> make: *** [bison] Error 2
> make: Leaving directory `/home/adam/gccsdk/gcc/riscos-progs'
> make: *** [riscos-progs] Error 2
Sounds like you don't have flex installed on your host (see README).
But when you are already at this build stage, you already have your
cross-compiler as you're busy building the RISC OS bison version. Did
you do "make" or "make build-cross" ? The latter is enough for just
John Tytgat, in his comfy chair at home BASS
John.Tytgat at aaug.net ARM powered, RISC OS driven
More information about the gcc