OpenCores
no use no use 1/1 no use no use
Puzzles!
by Unknown on Dec 12, 2003
Not available!
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






Puzzles!
by zhustudio on Dec 12, 2003
zhustudio
Posts: 15
Joined: Sep 1, 2008
Last seen: May 21, 2022
Dear Mr Cool_ABen, what is the platform you use? i have tried on cygwin in windows2000 and failed but under linux RH7.2 is ok. you can download ATS script from opencore website If you have further questions please feel free to contact me. Best Regards Jiahui Zhu Email: zhustudio@ict.ac.cn Date: 2003-04-19 ======= 2003-12-12 09:45:00 =======
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 _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc


= = = = = = = = = = = = = = = = = = = =



no use no use 1/1 no use no use
© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.