GCC 4.1 files

Peter Naulls peter at chocky.org
Thu Jun 23 01:43:40 PDT 2005


In message <42B3E565.7080109 at sqrt.co.uk>
          Nick Burrett <nick at sqrt.co.uk> wrote:

> The GCC 4.1-ELF-RISC OS files can be obtained here:
> 
>     ftp://gccsdk.riscos.info/pub/devel/

I'm trying to build it from the archive you supplied.  I haven't
investigated this in any detail, however it refused to start to build
GCC, because it was looking for arm-elf-riscos-as/ld/nm in the target
directory.  I copied the -new versions of those into the target direct,
but it broke again:

./xgcc -B./ -B/home/riscos/gcc-4.1/arm-elf-riscos/bin/ -isystem /home/riscos/gcc-4.1/arm-elf-riscos/include -isystem /home/riscos/gcc-4.1/arm-elf-riscos/sys-include -L/usr/src/compiler/gcc-4.1/arm-elf-riscos/gcc/../ld -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -Dinhibit_libc -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include  -fexceptions  -c ../../gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
In file included from ./gthr-default.h:1,
                 from ../../gcc/gthr.h:114,
                 from ../../gcc/unwind-dw2.c:42:
../../gcc/gthr-posix.h:43:21: error: pthread.h: No such file or directory
../../gcc/gthr-posix.h:44:20: error: unistd.h: No such file or directory
In file included from ./gthr-default.h:1,
                 from ../../gcc/gthr.h:114,


It may or may not be significant that I only build C and C++.



-- 
Peter Naulls - peter at chocky.org        | http://www.chocky.org/
----------------------------------------------------------------------------
Drobe - http://www.drobe.co.uk/        | The Premier RISC OS News Site



More information about the gcc mailing list