[gccsdk] Making R3 Cross-compiler

John Tytgat 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:

> Hi,
> 
> 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
> wrong?
> 
> make[2]: Leaving directory `/home/adam/gccsdk/gcc/riscos-progs/diff'
> make -C bison
> make[2]: Entering directory `/home/adam/gccsdk/gcc/riscos-progs/bison'
> lex  -t scan-gram.l > scan-gram.c
> /bin/sh: lex: command not found
> make[2]: *** [scan-gram.c] Error 127
> make[2]: Leaving directory `/home/adam/gccsdk/gcc/riscos-progs/bison'
> make[1]: *** [bison] Error 2
> make[1]: 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
the cross-compiler.

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven




More information about the gcc mailing list