On Fri, 13 Dec 2002 13:23:03 -0800 Juli Mallett <[EMAIL PROTECTED]> wrote:
> * De: Scott Aaron Bamford <[EMAIL PROTECTED]> [ Data: 2002-12-13 ]
> [ Subjecte: [Mono-list] mono on NetBSD ]
> > Plus a few changes to the build system that would probably end up in a NetBSD
>pkgsrc package. Anyone had any success with mono on NetBSD? Does the above seem
>sensible enough or have I missed something in mono's use of sem_*? Can easirly
>provide full patch for anyone whos interested in helping me knock this little error
>on the head. Thanks for any assitance.
>
> What sort of changes to the build system?
I had just added the flags nessasry to support pthreads on NetBSD to the various
makefiles while they are needed. When I thought about it, it would be better to check
for native pthreads in configure, and if it cannot find them, check for one of the
pthread packages, I've had most success (in general) with GNU Pth, plus, its very easy
to check for, so I've added those lines to the configure script.
> As for all other issues, you may want to try with 0.17 or current CVS to be
> sure?
Okay, I got the cvs copy, reapplied my changes, and any others that needed to be done,
and with the change to the configure script it compiles "out of the box" now on
NetBSD. Not been able to test if I still get the problem when using the compiled mono
now because I don't have all the libraries (from runtime/) installed, and I have
nothing to bootstrap a mcs with, any ideas?
Anyhow, patch attached that adds the above pthread checking to configure.in and that
uses pthread_mutex's if semaphore.h cannot be found, and thus sem_* cannot be used.
Will that always DTRT or are there systems where semaphore.h is not present but sem_*
still is? Could someone with cvs access review and commit, thanks. And thanks for
anyone with ideas about where I can get/make the neassary runtime libs without a
version of mcs?
- Scott
&
_.-'"''--..___.("\-''-'") i . O
('.__.' .( ) .-' ( 6_6' -------- |#| ------ o - ,,'''''', -------
'-..-'' .' _.' ( -. '(._Y_) ____| |____ . ,' ) ,', |
| ', '._ \ \_-.._ `--'.._ | # #: :# # | ( O <<<<< ' < |
| '-.!)) '.(il) ''-.(li) | # _____ # | ',, ,,,) ',' |
| |___ilili___| ',,,' |
----- [EMAIL PROTECTED] ------------------------- [EMAIL PROTECTED] -----
semtopthread.20021214.patch
Description: Binary data
