problem building cross compiler for RTEMS while fixing header files

Tobias Kolb kolb at iema.uni-stuttgart.de
Mon Jul 10 09:30:35 UTC 2000


Hello everybody,

I have a problem building the GNU C/C++ Cross Compiler Toolset as
described in "Getting Started with RTEMS for C/C++ Users" Edition 4.0.0
for RTEMS 4.0.0. I´m working on an old 486DX4 with Slackware 7 and Linux
Kernel 2.2.13.
I´m using egcs-1.1b, newlib-1.8.0, binutils-2.9.2 and the patches for
them as describes in the above documentation. Should I use newer version
of them; but where to find the RTEMS-patches?

When building the cross compiler for m68k I get the following error
messages:
...
Fixing directory
/usr/local/src/crossdev/cross-tools/m68k-rtems/sys-include into
/usr/local/src/crossdev/build-m68k-tools/gcc/include
Checking header files
Fixing limits.h
Deleting /usr/local/src/crossdev/build-m68k-tools/gcc/include/limits.h;
no fixes were needed.
egrep: /usr/local/src/crossdev/build-m68k-tools/gcc/include/reg_types.h:
No such file or directory
egrep: /usr/local/src/crossdev/build-m68k-tools/gcc/include/regex.h: No
such file or directory
egrep:
/usr/local/src/crossdev/build-m68k-tools/gcc/include/sys/lc_core.h: No
such file or directory
Cleaning up DONE files.
Removing unneeded directories:
rm -f include/syslimits.h
if [ -f include/limits.h ]; then \
 mv include/limits.h include/syslimits.h; \
else \
  cp ../../src/gcc/gsyslimits.h include/syslimits.h; \
fi
cp: cannot create regular file `include/syslimits.h': No such file or
directory
gmake[1]: *** [stmp-fixinc] Error 1
gmake[1]: Leaving directory
`/usr/local/src/crossdev/build-m68k-tools/gcc'
gmake: *** [all-gcc] Error 2
ERROR: **** FAILED **** base build (step 1)
...

Could anybody point me in the right direction? I searched the archives
for this, but no real help I could understand.
Any help would be greatly appreciated, thanks in advance,
 
greetings Tobi



More information about the users mailing list