GCC 4.1 files

Nick Burrett nick at sqrt.co.uk
Thu Jun 23 10:35:52 PDT 2005

Peter Naulls wrote:
> 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,

When you do an initial ../configure, you should be presented with a 
message like:

The following languages will be built: c,c++,f95,java,objc
*** This configuration is not supported in the following subdirectories:
      target-libmudflap target-libffi target-boehm-gc target-zlib 
target-libjava target-libada gnattools
     (Any other directories should still work fine.)

What does yours say ?

More information about the gcc mailing list