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

RedHat 6.0: the story so far...



Jay, 
Thanks -- this did the trick. egcs-1.1.2/binutils-2.9.1/newlib-1.8.1
now cleanly builds on my x86/RedHat 6.0 system.

Joel,
This patch fixes an error in the latest newlib patch (19990423) and I
think it should be incorporated.

To all interested,
Here is a summary of my attempts so far to get RTEMS working on a RedHat
6.0 system.

Host: i686/RedHat 6.0, using texinfo package from RedHat 5.2.
Target: i386
BSP: ts_386ex (COFF)

Sources Used: (all have latest patches applied as of 19990426)
============

* egcs-1.1.2 + modified "fixincludes" (see thread) + my software
floating-point patches.
* gcc-2.8.1 + modified "fixincludes" + software floating-point patches
* binutils-2.9.1
* newlib-1.8.1 + Jay's patch
* newlib-1.8.0
* rtems-19990426

Results
=======

* gcc-2.8.1/gnat-3.11p/newlib-1.8.0: tools build (C/Ada), BSP builds,
paranoia test (for software floating-point) PASSES.

* gcc-2.8.1/gnat-3.11p/newlib-1.8.1: tools build (C/Ada), BSP builds,
paranoia test FAILS. 

* egcs-1.1.2/newlib-1.8.0: tools build (C/C++), BSP builds, paranoia test
PASSES.

* egcs-1.1.2/newlib-1.8.1: tools build (C/C++), BSP builds, paranoia NOT
TESTED YET.

So far, it looks like there may be problem with the math lib in newlib...
  ____________________________________________________________
 /                                                            \
| Tony R. Ambardar         |   Department of Electrical &      |
| M.Eng. Student           |   Computer Engineering            | 
| Email: tonya at ece.ubc.ca  |   University of British Columbia  |
| Ph: (604) 822-2872       |   2356 Main Mall, Vancouver B.C.  |
| Fax:(604) 822-5949       |   V6T 1Z4  CANADA                 |
 \____________________________________________________________/

On Wed, 19 May 1999 joel at OARcorp.com wrote:
> 
> Yes.  I don't know which date of a newlib patch it showed up in though.
> 
> On Wed, 19 May 1999, Jay Kulpinski wrote:
> 
[...]
> > Did you fix newlib-1.8.1/newlib/libc/sys/rtems/sys/time.h ?
> > 
> > *** newlib-1.8.1/newlib/libc/sys/rtems/sys/time.h       Wed May 19
> > 12:57:20 1999
> > ---
> > /home/jskulpin/epi/rtems-new/tools/newlib-1.8.1/newlib/libc/sys/rtems/sys/time.h   
> > Wed May 12 22:50:40 1999
> > ***************
> > *** 4,16 ****
> > 
> >   #include <sys/types.h>
> > 
> >   #ifdef __cplusplus
> >   extern "C" {
> >   #endif
> > 
> > - #ifndef __POSIX_SYS_TIME_h
> > - #define __POSIX_SYS_TIME_h
> > -
> >   /*
> >    *  Get the CPU dependent types for clock_t and time_t
> >    *
> > --- 4,16 ----
> > 
> >   #include <sys/types.h>
> > 
> > + #ifndef __POSIX_SYS_TIME_h
> > + #define __POSIX_SYS_TIME_h
> > +
> >   #ifdef __cplusplus
> >   extern "C" {
> >   #endif
> > 
> >   /*
> >    *  Get the CPU dependent types for clock_t and time_t
> >    *