X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <6910a60805190551g21228918hee2337c7585cd34e@mail.gmail.com> Date: Mon, 19 May 2008 14:51:39 +0200 From: "Reini Urban" To: cygwin AT cygwin DOT com Subject: Re: Enc: You could tell me what the package has synch.h Cc: julianohmaas AT yahoo DOT com DOT br In-Reply-To: <48316CE3.8050802@byu.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <844987 DOT 70644 DOT qm AT web30907 DOT mail DOT mud DOT yahoo DOT com> <48316CE3 DOT 8050802 AT byu DOT net> X-Google-Sender-Auth: 81ac87223164b325 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2008/5/19 Eric Blake: > According to Juliano H. Maas on 5/18/2008 8:27 PM: > | When I try to compile a code get the following error: > | synch.h in such file > | You could tell me what the package has synch.h? There are two fundamentally different synch.h's around: I know of the solaris sys/synch.h (SUN's thread synchronization interface) http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/head/synch.h And the C++ synch.h (C++ Data structures for synchronizing threads) e.g. MSVC http://www.koders.com/cpp/fid674FFFCE978E62E360CD8320944D468A2AF3F2A3.aspx or BSD http://www.mcs.vuw.ac.nz/courses/COMP305/2006T1/Nachos/nachos_html/synch_h.html Our sys/sem.h and pthread.h is functional similar to the one from Solaris. Looks like a major rewrite is necessary. > $ cygcheck -p '/synch\.h' > Found 0 matches for /synch\.h. > > Apparently, none of them. You'll need to port it yourself to avoid that > header, as it is not portable. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/