|
Message
From: Cool_ABen@s...<Cool_ABen@s...>
Date: Fri Dec 12 09:45:36 CET 2003
Subject: [openrisc] Puzzles!
Sir: I am a student at Shanghai. These days I have some puzzles about the rtems-developing-installing process. I have downloaded the developing tools : Binutils.tar.gz ,Newlib.tar.gz and gcc-2.95.3.tar.gz to my PC using CVSget. Then I uncompressed them to the directory : /tar/or1k/. So in my file directory tools: there are three subdirs( binutils ,gcc-3.95.1, newlib-1.10.0 ). Then I started to install as follows:
> cd /tar/or1k/Binutils > ./configure --target=or32-rtems --prefix=/opt/or32-rtems > make all install > export PATH=$PATH:/opt/or32-rtems/bin > > cd /tar/or1k/gcc-2.95.3 > ./contrib/egcs_update --touch > ln -s ../newlib/newlib . > configure --target=or32-rtems \ --with-gnu-as --with-gnu-ld --with-newlib --verbose \ --enable-threads --prefix=/opt/or32-rtems --enable-languages="c" > make all install
but to my disapointment ,errors occur during the process of installing . and the errors are:
"touch stamp-picdir test x"no" != xyes || \ /tar/or1k/gcc-2.95.3/gcc/xgcc -B/tar/or1k/gcc-2.95.3/gcc/ - B/opt/or32-rtems/or 32-rtems/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. - I./../../include argv.c -o pic/ar gv.o /tar/or1k/gcc-2.95.3/gcc/xgcc -B/tar/or1k/gcc-2.95.3/gcc/ -B/opt/or32- rtems/or32 -rtems/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. - I./../../include argv.c test x"no" != xyes || \ /tar/or1k/gcc-2.95.3/gcc/xgcc -B/tar/or1k/gcc-2.95.3/gcc/ - B/opt/or32-rtems/or 32-rtems/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. - I./../../include choose-temp.c -o pic/choose-temp.o /tar/or1k/gcc-2.95.3/gcc/xgcc -B/tar/or1k/gcc-2.95.3/gcc/ -B/opt/or32- rtems/or32 -rtems/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. - I./../../include choose-temp.c choose-temp.c:29: stdio.h: No such file or directory choose-temp.c:30: sys/types.h: No such file or directory choose-temp.c:32: unistd.h: No such file or directory choose-temp.c:35: stdlib.h: No such file or directory choose-temp.c:38: sys/file.h: No such file or directory make[1]: *** [choose-temp.o] Error 1 make[1]: Leaving directory `/tar/or1k/gcc-2.95.3/or32-rtems/libiberty' make: *** [all-target-libiberty] Error 2 "
also I compare this to the build log in the web of ATS, there are some differences. I am a newcomer and don't know the reason. Now I am puzzled and very anxious. I wish you can help me with this issue. Thanks Regards: Ben
|
 |