delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/08/08:07:35

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=dcv
jfYmVPxUSh1wpisTMQf69P+x2/zwEU/TwWEQdBVjoDGRjTiNuvANImxxE4FUCP/l
m/afIbdmYieQVvpY0A+enz8uNvRY+IpQxI0YvH63Bg35AK6xcuzgq0KtqsFq8zaH
tfCPRJOD7N4+QSdGn9ibSW8xMsf1B972nbbuDq64=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=W6try2Bv4
FejRzHRh8i73wWZ4BU=; b=IQpF8mkdKe6/aXl/nQzVLWR7kDzK6MZXK/y3cS7zr
x8SI84T//43/hDmNdt7voSIELj7S4gY9MnPEPOqXr/1Iz+6hi2e6h50DEicjITtf
Djf/WDGtDTLXJcW/5MFgMvD+erhwNKdS5fHoeDf6nFGNbD2juprDKfqRct61doVX
gc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,RCVD_VIA_APNIC,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_PC,T_MANY_HDRS_LCASE autolearn=ham version=3.3.1
From: Fedin Pavel <p DOT fedin AT samsung DOT com>
To: cygwin AT cygwin DOT com
Subject: Suggestion: improve cross-compiling ability
Date: Mon, 08 Jul 2013 16:07:12 +0400
Message-id: <000901ce7bd3$ae02fb70$0a08f250$%fedin@samsung.com>
MIME-version: 1.0

 Hello! I have got one small idea on how to improve compatibility with
cross-compiling Linux software. This time it's glibc.

 At certain point glibc's rpcgen program (which is being compiled for host),
relies on '#ifndef __u_char_defined' and '#ifndef __daddr_t_defined' in
order to determine presence of 'u_char' and 'daddr_t' respectively (see
libc/sunrpc/rpc/types.h). I have to patch this to add _BSDTYPES_DEFINED
check in order to be able to cross-build glibc under Cygwin.
 What if we add also these Linux-style definitions to our includes ?

 P.S. I understand that actually it's glibc needs fixing because the same
will happen on any other non-Linux OS. But i believe FSF will simply say "we
don't care" and won't accept this fix.

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia




--
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