[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re(2): rtems and coldfire: cannot build tools



On Thu, Feb 11, 1999, Ralf Corsepius <corsepiu at faw.uni-ulm.de> wrote:

>--- egcs-1.1b.orig/gcc/fixincludes	Thu Sep  3 01:39:06 1998
>+++ egcs-1.1b/gcc/fixincludes	Thu Oct 15 11:30:43 1998
>@@ -3123,7 +3123,7 @@
> cd $LIB
> files=`find . -type d -print | sort -r`
> for file in $files; do
>-  rmdir $LIB/$file > /dev/null 2>&1
>+  test x"$file" == x"." || rmdir $LIB/$file > /dev/null 2>&1
> done

The above patch causes the following error :

Removing unneeded directories:
../../src/gcc/fixincludes: test: ==: binary operator expected
../../src/gcc/fixincludes: test: ==: binary operator expected
../../src/gcc/fixincludes: test: ==: binary operator expected

And I still have this one:

f [ -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/src/rtems_tools/build-m68k-tools/gcc'
gmake: *** [all-gcc] Error 2
ERROR: **** FAILED **** base build (step 1)

I'll try to investigate more. I'm not really a unix-guru (I don't know
1/10 of the shell and makefile commands), but I do know about kernels and
low-level things (I will probably be able to work with rtems provided
that I manage to build the tools ;-)

-- 
           E-Mail: <mailto:bh40 at calva.net>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>