[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RedHat 6.0
- Date: Wed, 12 May 1999 07:12:45 -0500 (CDT)
- From: joel at OARcorp.com (joel at OARcorp.com)
- Subject: RedHat 6.0
On Tue, 11 May 1999, Tony R. Ambardar wrote:
> Has anyone managed to build i386 cross-compiler tools for RTEMS-4.0.0 or
> greater on a RedHat 6.0 Linux/i386 box? I run into problems with
> fixincludes and some other library stuff. Everything builds OK under
> RedHat 5.2. Several packages have been updated in 6.0. My list of suspects
> includes bash, make, automake, autoconf, the shell utils...
This sounds suspiciously like the rmdir(1) behavior problem that Ralf has
run into. It has something about rmdir of a directory with a . in it. I
thought this was dealt with in the rtems patch.
The rtems or egcs list archives should have this in them. The discussion
with the Linux folks I have is dated around February 15. Here is a
fragment of a description from Ralf along with a short test. I recall he
had a shorter test in some email messages.
I recall that the symptom was missing directories in the install
point. Does it look like you are missing some directories?
[FYI Ralf would normally have answered this but is still in the States and
off email.]
========================================
The cause of this problem is the fragment from gcc/fixincludes below:
> echo 'Removing unneeded directories:'
> cd $LIB
> files=`find . -type d -print | sort -r`
> for file in $files; do
> rmdir $LIB/$file > /dev/null 2>&1
> done
This fragment relies on rmdir(1) failing when $file contains "."- So the
actual problem is gcc/fixincludes requiring "rmdir $LIB/." to fail (Of
cause this can easily be worked around by modifying fixincludes, but is a
different topic).
AFAIS, this fragment is present in all gcc-releases I have handy right
now: gcc-1.42 (Sep. 91), gcc-2.3.1 (Oct. 92), gcc-2.7.2.3, egcs-1.1b,
egcs-1.1.1 and egcs updated from cvs a few hours ago.
=================================================
--joel
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
- Follow-Ups:
- RedHat 6.0
- From: tonya at ece.ubc.ca (Tony R. Ambardar)
- References:
- RedHat 6.0
- From: tonya at ece.ubc.ca (Tony R. Ambardar)