[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rtems and coldfire: cannot build tools
- Date: Thu, 11 Feb 1999 14:05:04 +0100
- From: corsepiu at faw.uni-ulm.de (Ralf Corsepius)
- Subject: rtems and coldfire: cannot build tools
Erwin Rol wrote:
> I have had the same problem with on a dual pentium building
> rtems i386 aout. The disk space isn't the problem for sure
> cause i used a new UW 4.5 gig HD, that had only the rtems stuff on it.
> It seems a problem from egcs it removes the include directory and
> than tries to copy a file to it. I fixxed it by puttin a "mkdir include"
> infront of the point where the copy happens.
> I mentioned this before on the list but nobody seemed to have the
> problem.
> I am at my work now so i can't check in wich file it was that i fixed
> (well fixed isn't the right word i guess :-) but you should be able to
> find the point with grep or so :-)
Which OS are you using for your host?
The phenomena mentioned in this thread resemble to a bug in egcs I've noticed with
linux-2.1.X/2.2.X.
The patch below fixes them for me, may be this helps in your case, too.
Ralf.
--
Ralf Corsepius
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690
mailto:corsepiu at faw.uni-ulm.de FAX: +49/731/501-999
http://www.faw.uni-ulm.de
-------------- next part --------------
--- 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