compiling ACE for RTEMS

Jack Cawkwell J.Cawkwell at open.ac.uk
Sat Jun 28 18:25:55 UTC 2003


Hi,

Good news, I have managed to get ACE to compile under RTEMS.  I have set
the ACE flags slightly differently. Also more contraversaly altering the
file
/opt/rtems/i386-rtems/include/sys/signal.h to change line 87

from
typedef void (*_sig_func_ptr)();

to
typedef void (*_sig_func_ptr)(int);

within the precompiler block:

#if defined(__rtems__)
#if defined(_POSIX_REALTIME_SIGNALS)

So the question is: will this break anything?

This seems to allow the whole of ACE 5.3.1 to compile without problems.
Cross compiling on Linux 2.4.20 i686, to pc386, with RTEMS built with the
following config

../rtems-4.6.0pre3/configure\
  --build=i386 \
  --enable-cxx \
  --enable-maintainer-mode \
  --enable-networking \
  --enable-posix \
  --enable-rdbg \
  --enable-rtemsbsp=pc386 \
  --enable-tests \
  --prefix=/opt/rtems \
  --program-prefix=i386-rtems- \
  --target=i386-rtems \

Jack





More information about the users mailing list