rtems toolset installation on redhat linux7.2

wq wq rtemswq at yahoo.com.cn
Fri Dec 28 01:54:04 UTC 2001


hello all:
  I have a simple problem but difficute for me !help
me please!thanks very much!
  The follow is the details :
  I have read the instructions "Getting Started with
RTEMS for C/C++ Users "
(donloaded from "http://www.oarcorp.com/rtems/
releases/4.5.0/rtemsdoc-4.5.0/share/
rtemsdoc/html/started/index.html") 
and i have follow the instructions getting the
binutils, gcc and gdb tgz files 
(download from ftp://ftp.oarcorp.com/pub/rtems/
releases/4.5.0/c_tools/source/) .
then extract and patch toolset "source file"(not
install tools from  RPM) ...
I use "./bit i386-coff " to install.

|||user.cfg file set:
INSTALL_POINT=/usr/local/rtems
BINUTILS=binutils-2.9.5.0.24
GCC=gcc-2.95.2
BUILD_OTHER_LANGUAGES=no
NEWLIB=newlib-1.8.2
GDB=gdb-4.18
BUILD_DOCS=yes
RTEMS=4.5.0
ENABLE_RTEMS_POSIX=yes
.....others are all setted by =yes

|||my pc set:intel 1.5Gmhz cpu,256 ram,40g
harddisk,3c905 netcard. os is redhat linux 7.2 ver.

|||bit.log file :
makeinfo (GNU texinfo) 4.0b

Copyright (C) 2001 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this
software
under the terms of the GNU General Public License.
For more information about these matters, see the
files named COPYING.

Building a cross GNU C/C++ toolset with the following
configuration:
    BINUTILS      -->  binutils-2.9.5.0.24
    GCC           -->  gcc-2.95.2
    NEWLIB        -->  newlib-1.8.2
    TARGET        -->  i386-rtemscoff
    INSTALL POINT -->  /usr/local/rtems
    BUILD DOCS    -->  yes

Making directory for install point (/usr/local/rtems)
...

Compilation of binutils will occur in
build-i386-coff-tools.

BIT: Running in /home/tools/build-i386-coff-tools:
+ ../binutils-2.9.5.0.24/configure
--target=i386-rtemscoff --verbose
--prefix=/usr/local/rtems
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in
/home/tools/build-i386-coff-tools
Configuring intl...
creating cache ../config.cache
checking for a BSD compatible install...
/usr/bin/install -c
checking how to run the C preprocessor... gcc -E
..........
+ ../gcc-2.95.2/configure --target=i386-rtemscoff
--with-gnu-as --with-gnu-ld --with-newlib --verbose
--enable-languages=c,c++ --prefix=/usr/local/rtems
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in
/home/tools/build-i386-coff-tools
Configuring libiberty...
creating cache ../config.cache
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... ar
........
do \
  echo ${name}; \
  /home/tools/build-i386-coff-tools/gcc/xgcc
-B/home/tools/build-i386-coff-tools/gcc/
-B/usr/local/rtems/i386-rtemscoff/bin/
-I/usr/local/rtems/i386-rtemscoff/include -O2
-I../../gcc-2.95.2/gcc/../newlib/libc/sys/rtems/include
-DCROSS_COMPILE -DIN_GCC     -O2 -g -I./include   -g1 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc 
-I. -I../../gcc-2.95.2/gcc
-I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/gcc/../include -c -DL${name} \
       ../../gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  i386-rtemscoff-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
/usr/local/rtems/i386-rtemscoff/bin/as: unrecognized
option `-Qy'
gmake[1]: *** [libgcc2.a] Error 1
gmake[1]: Leaving directory
`/home/tools/build-i386-coff-tools/gcc'
gmake: *** [all-gcc] Error 2
ERROR: **** FAILED **** base build (step 1)

Started:   Wed Dec 26 11:02:51 HKT 2001
Finished:  Wed Dec 26 11:08:47 HKT 2001

Directory size information:
30500	build-i386-coff-tools
18240	/usr/local/rtems

The src and build-i386-coff-tools subdirectory have
NOT been removed.
********************

Any thoughts or comments would be appreciated!!!

_________________________________________________________
Do You Yahoo!? 登录免费雅虎电邮! http://mail.yahoo.com.cn

<font color=#6666FF>无聊?郁闷?高兴?没理由?都来聊天吧!</font>―― 
雅虎全新聊天室! http://cn.chat.yahoo.com/c/roomlist.html



More information about the users mailing list