www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/26/18:03:28

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: <AANLkTinVh5FfLMXkaruaLEz2wH=37fyy3Oq2UunT3XZ5@mail.gmail.com>
References: <AANLkTinVh5FfLMXkaruaLEz2wH=37fyy3Oq2UunT3XZ5 AT mail DOT gmail DOT com>
Date: Fri, 27 Aug 2010 00:03:11 +0200
Message-ID: <AANLkTinPYq=Uxg0hWYRHxwgSaM9GUPKV=+-8cKDBa3xc@mail.gmail.com>
Subject: Re: compiling binutils misses sys/user.h
From: Al <oss DOT elmar AT googlemail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019