This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OpenBSD cilkrts portability patch


John Carr <jfc@MIT.EDU> writes:

> I am trying to build the trunk version of gcc to have Cilk on OpenBSD.
>
> I attach three changes to libcilkrts.  Two changes treat OpenBSD like
> FreeBSD.  One change is needed because OpenBSD defines PTHREAD_MUTEX_* as
> enumerations rather than preprocessor constants.

That doesn't seem to be the autoconf'esque way to do this:
better would be to have a configure check for this somewhere and then
test the results.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]