Re: Port for BSD/OS?

Gene <[email protected]> Sat, 7 May 2005 01:10:39 -0700
Newsgroups gmane.comp.lib.state-threads.devel
Message-ID <[email protected]>
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)
>



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20