This is the mail archive of the newlib@sourceware.cygnus.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Small bug for RTEMS support in newlib-1.8.0



I used the following configure option for newlib-1.8.0

configure --host=i586-pc-linux-gnu --target=i386-unknown-rtems --norecursion

And found a single problem in newlib/libc/sys/rtems/sys/signal.h
due to the fact that signal.c makes use of NSIG anyway...

Here is the diff...

NB : I'm not yet sure if RTEM supports signals and if it is not
a configuration bug in features.h...

*** newlib/libc/sys/rtems/sys/signal.h~ Tue Jun 24 23:49:56 1997
--- newlib/libc/sys/rtems/sys/signal.h  Tue Jan  6 16:30:29 1998
***************
*** 4,6 ****
--- 4,8 ----
   *  For sure we want to keep newlib's default version out of the install
   *  so this empty file helps out in that regards.
   */
+ 
+ #define NSIG 32

-- 
   __                 
  /  `                   	Eric Valette
 /--   __  o _.          	Canon CRF
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex

Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette@crf.canon.fr