[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rtems and coldfire: cannot build tools
- Date: Thu, 11 Feb 1999 17:05:30 +0100
- From: corsepiu at faw.uni-ulm.de (Ralf Corsepius)
- Subject: rtems and coldfire: cannot build tools
Benjamin Herrenschmidt wrote:
>
> 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 :
This was my fault. Some "test"-commands can't handle ==, replace the
"==" with a single "=" inside of the patch above.
> 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 ;-)
I have to repeat my question, which OS do you use?
Furthermore, the bug above indicates that you are not using bash as
SHELL, at least not a recent version of bash. So this might also
indicate that your problems are related to using some (non-portable)
bash specific features somewhere or a broken SHELL.
Ralf