Building RTEMS

Bob Stafford bobstaff at
Wed Jan 12 13:21:40 UTC 2000

I'm trying to build RTEMS on a PC running Red Hat linux 6.1 for 68340
target. I've been following the instructions at

Everything is OK until step 3.10 which involves running the bit script.
This fails while trying to build gcc with the following messages. There
a couple of extra lines in here where I've added echo's into the make
file in my attempt to work out what is happening. So far it appears that
fixincludes is deleting the
/home/bobstaff/rtems/tools/build-m68k-tools/gcc/include directory.

If anyone has any idea what's wrong I'd appreciate any advice, meanwhile
I'll start wading through fixincludes to try to work out what it is

drwxr-xr-x   2 bobstaff users        1024 Jan 12 06:29 include
/bin/sh ../../src/gcc/fixincludes include
Building fixed headers in
Finding directories and links to directories
 Searching /home/bobstaff/m68k-rtems/m68k-rtems/sys-include/.
All directories (including links to directories):

Making symbolic directory links
Fixing directory /home/bobstaff/m68k-rtems/m68k-rtems/sys-include into
Checking header files
Fixing limits.h
/home/bobstaff/rtems/tools/build-m68k-tools/gcc/include/limits.h; no
fixes were needed.
/home/bobstaff/rtems/tools/build-m68k-tools/gcc/include/reg_types.h: No
such file or directory
egrep: /home/bobstaff/rtems/tools/build-m68k-tools/gcc/include/regex.h:
No such file or directory
No such file or directory
Cleaning up DONE files.
Removing unneeded directories:
ls: include: No such file or directory
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; \
cp: cannot create regular file `include/syslimits.h': No such file or
gmake[1]: *** [stmp-fixinc] Error 1
gmake[1]: Leaving directory
gmake: *** [all-gcc] Error 2
ERROR: **** FAILED **** base build (step 1)

Started:   Wed Jan 12 06:09:22 CST 2000
Finished:  Wed Jan 12 06:29:21 CST 2000

More information about the users mailing list