Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <028301c0bd58$7c22efd0$0200a8c0@lifelesswks> From: "Robert Collins" To: "Fleischer, Karsten \(K.\)" , References: <200104041238 DOT f34Cc7X14060 AT dymwsm09 DOT mailwatch DOT com> Subject: Re: port of omniorb Date: Thu, 5 Apr 2001 08:42:08 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 04 Apr 2001 22:36:09.0923 (UTC) FILETIME=[A5496930:01C0BD57] ----- Original Message ----- From: "Fleischer, Karsten (K.)" To: 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