X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 27 Aug 2010 00:03:11 +0200 Message-ID: Subject: Re: compiling binutils misses sys/user.h From: Al To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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 > I try to compile binutils. It complaints a missing sys/user.h. > > On linux it would find it in "/usr/include/sys/user.h". > > What is the way to go on Cygwin? A question with an answer pays ten times. So here we go for the archives: The solution is to set the host to the appropriate value. AFAIK it is autodetected by ./configure, as long as you don't set it manually to a wrong value as I did (indirectly). The host for cygwin is i686-pc-cygwin. Once it is set right the configure excludes modules that depend on kernel stuff like user.h. A kernel is simply not part of Cygwin. Al -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple