This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


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

Re: port of omniorb


----- Original Message -----
From: "Fleischer, Karsten (K.)" <kfleisc1@getrag-ford.com>
To: <cygwin@cygwin.com>
Sent: Wednesday, April 04, 2001 10:37 PM
Subject: RE: port of omniorb


>
> I had a closer look at OmniORB's posix.cc source file.
>
Thank you.


> Which pthread draft version do we have on Cygwin?  At least 8, I
think...
> Robert?

The original work - I have no idea. I do know that some things were
quite different to what newlibc exports which has caused some confusion.

I'm working of the documentation at www.opengroup.org (searching on
google is the easiest way to a good entry point). They don't mention
draft versions there.. I'm goping to have to dig up the current IEEE
specs I can see.

You've done an excellent bit of research for me. It's my turn to plead
business - I'm hoping to get quite a bit done this weekend though, so
I'll actually read and cross reference what you've put together.

>
> So for building OmniORB one has to
> - undefine PthreadSupportThreadPriority
> - undefine NeedPthreadInit
> - define PthreadDraftVersion to 8(?)
> - undefine NoNanoSleep
> in the makefile.
>
> This is done by setting
> OMNITHREAD_POSIX_CPPFLAGS
= -UPthreadSupportThreadPriority -UNeedPthreadInit
> -DPthreadDraftVersion=8 -UNoNanoSleep
> in the platform specific makefile.
>
> The only change which is necessarily needed in posix.cc is to change
line
> 537 from
>
> #if !defined(__linux__)
>
> to
>
> #if !defined(__linux__) && !defined(__CYGWIN__)

If the project uses autoconf, that would be better tested as
#if HAVE_FEATURE

or even just have
#ifndef HAVE_FEATURE
#define func ;
#define func ;
#define func ;
#endif
in one of your core makefiles.
'course if it's not autoconf'd, what you've got is absolutely correct.

>
>
> Hope this helps...

It should. thank you.

>
> Karsten
>

Rob


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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