[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RedHat 6.0
- Date: Tue, 18 May 1999 08:12:27 -0500 (CDT)
- From: joel at OARcorp.com (joel at OARcorp.com)
- Subject: RedHat 6.0
On Mon, 17 May 1999, Tony R. Ambardar wrote:
> On Wed, 12 May 1999 joel at oarcorp.com wrote:
> >
> > 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 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
> >
>
> I had already managed to track this down and fix it by changing the "find"
> command to "find . -type d ! -name '.' -print".
Is this an "approved" fix? have you sent it to the egcs folks?
> A second problem arises when building some of the info files. "makeinfo"
> will fail, complaining that texinfo @xref commands must be followed by a
> "," or "." (this is a valid complaint). The texinfo package from RedHat
> 5.2 bypassed this @xref check and can be used as a replacement for the
> RedHat 6.0 texinfo.
If these are in egcs, please report this to that list. An egcs release is
approaching.
> After these two fixes I have succeeded in building
> gcc-2.8.1/gnat-3.11p/binutils-2.9.1/newlib-1.8.1/rtems-19990426 but I
> still run into a couple of problems with software floating-point that I am
> trying to iron out. I suspect they are related either to RedHat 6.0 or
> newlib-1.8.1.
>
> I have also tried building egcs-1.1.2/binutils-2.9.1/newlib-1.8.1 with the
> latest patches and the previous 2 fixes applied. The compilation fails at
> 2 files -- filbuf.cc and streambuf.h -- with errors about some
> redeclarations.
haven't we heard this problem before ... hmmmm...
Cut and pate the failing command. Add -M to it and save the dependency
list. Look at it carefully. I suspect that you are getting files from
another installation mixed in.
If you have any gcc or gnat environment variables set, it could be causing
problems.
--joel
- 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)