From: Gene <ge...@co...> - 2005-11-07 09:36:12
|
On Nov 5, 2005, at 5:57 PM, Dave Shariff Yadallee wrote: > I am trying to port statethreads to BSD/OS 4.3.1 Dave, Below is a message I sent as a reply to the same question a while ago. I think it shouldn't be too hard to do the port. --Gene Begin forwarded message: > From: Gene <ge...@co...> > Date: May 7, 2005 1:10:39 AM PDT > To: Claus Assmann <sta...@es...> > Cc: sta...@li... > Subject: Re: Port for BSD/OS? > > > I think it should be relatively easy to port to bsdi using NSPR > (again) as the source: > http://lxr.mozilla.org/nspr/source/nsprpub/pr/include/md/_bsdi.h > > Can someone with access to BSD/OS patch md.h and try it? > I think for bsdi 4.x the _PR_BSDI_JMPBUF_IS_STRUCT macro > should be defined (see link above). > > It's interesting that this OS is still in use. From wikipedia: > "The OS was purchased by Wind River Systems in 2001. Wind River > discontinued sales of BSD/OS at the end of 2003, with support > terminating at the end of 2004." > > --Gene > > On May 1, 2005, at 8:37 AM, Claus Assmann wrote: > > >> Does someone have a port for BSD/OS? It seems simply re-using >> the FreeBSD part doesn't work (at least that's what has been >> reported to me). >> >> BSD/OS 4.3.1 using gcc 3.X >> >> source='sched.c' object='sched.o' libtool=no depfile='.deps/ >> sched.Po' tmpdepfile='.deps/sched.TPo' depmode=gcc3 /bin/sh ./ >> depcomp /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../ >> include -DFREEBSD -O -g -O9 -Wall -march=i686 -c `test -f >> 'sched.c' || echo './'`sched.c >> sched.c: In function `st_thread_create': >> sched.c:877: structure has no member named `_jb' >> *** Error code 1 (continuing) >> >> > > |