posix problems with 0205 snapshot

Ralf Corsepius corsepiu at faw.uni-ulm.de
Wed Feb 13 02:24:14 UTC 2002


Am Die, 2002-02-12 um 21.38 schrieb Chris Caudle:
> Has anyone tried the posix bsp with the 0205 snapshot yet?
Yes, there is a bug inside the configuration which only affects building
the posix-BSP, only (Fix attached below).

> I usually build the posix bsp first and run the sample tests just as a sanity 
> check,
Well, IMHO, this check is of rather limited wealth, because the
posix-BSP internally is a rather different beast than the embedded
targets, and because large portions of RTEMS are not supported by the
posix-BSP.

Try the patch below. (Run bootstrap from the toplevel once after having
applied the patch).

Ralf

PS: Joel, IMO, the 0205 snapshot should be replaced, ASAP.
-------------- next part --------------
Index: c/src/exec/score/cpu/unix/configure.ac
===================================================================
RCS file: /usr1/CVS/rtems/c/src/exec/score/cpu/unix/configure.ac,v
retrieving revision 1.3
diff -u -r1.3 configure.ac
--- c/src/exec/score/cpu/unix/configure.ac	2002/01/24 14:13:14	1.3
+++ c/src/exec/score/cpu/unix/configure.ac	2002/02/10 19:42:18
@@ -32,16 +32,8 @@
 
 ## The code fragment below had been used in tools/cpu/unix/gensize.c.
 ## FIXME: 
-## * The sun-stuff needs to be looked after.
 ## * The pad very likely is not necessary.
 AC_CHECK_SIZEOF([CPU_CONTEXT],[],[
-#if defined(__sun__) && defined(__sparc__) && \
-    defined(__unix__) && defined(__svr4__)
-#undef  _POSIX_C_SOURCE  
-#define _POSIX_C_SOURCE 3
-#undef  __STRICT_ANSI__
-#endif
-
 #include <stdio.h>
 #include <setjmp.h>
 


More information about the users mailing list