www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/26/00:28:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_CG,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C257DE2.9070703@users.sourceforge.net>
Date: Sat, 26 Jun 2010 12:11:14 +0800
From: JonY <jon_y AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygport improvements
References: <4C256292 DOT 1060907 AT users DOT sourceforge DOT net> <20100626040511 DOT GE28534 AT ednor DOT casa DOT cgf DOT cx> <AANLkTikWztUTgYZDacWmhg-_YYFFnr1_qyBpk_FXhIgq AT mail DOT gmail DOT com> <20100626042431 DOT GF28534 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20100626042431.GF28534@ednor.casa.cgf.cx>
X-IsSubscribed: yes
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

On 6/26/2010 12:24, Christopher Faylor wrote:
> On Sat, Jun 26, 2010 at 12:15:10AM -0400, NightStrike wrote:
>> On Sat, Jun 26, 2010 at 12:05 AM, Christopher Faylor
>> <cgf-use-the-mailinglist-please AT cygwin DOT com>  wrote:
>>> On Sat, Jun 26, 2010 at 10:14:42AM +0800, JonY wrote:
>>>> Hello,
>>>>
>>>> I am planning to bring mingw-w64 to cygwin. Here are some nits I found
>>>> when working with it.
>>>>
>>>> * It sets CC=gcc
>>>> While not a major issue, it does present some issues when cross
>>>> compiling the mingw-w64 CRT.
>>>
>>> Why would a Cygwin tool worry about mingw? ?We've already removed mingw
>>> support from gcc. ?Why add it to something called "cygport"?
>>>
>>>> * Implicitly setting --prefix=/usr
>>>> While I understand this is suitable for native builds, perhaps adding
>>>> some cross compile logic to disable this?
>>>
>>> Ditto. ?It's intended to make cygwin packages.
>>>
>>> I really don't see how making something mingw aware is a topic for
>>> the cygwin mailing list.
>>
>> He's trying to make a cygwin package that consists of a cross compiler
>> toolchain for targetting 64-bit windows from a cygwin host.  Cygport
>> puts some obstacles in the way for doing that.  Maybe you could
>> suggest how to get around his issues?  That'd be a big help if you
>> could shed some light on the things he mentioned.
>
> If it's a cross-compiler then it should be installed in /usr.
>

Yes, its a cross compiler, compiler frontend binaries go in /usr/bin, 
but headers and libraries for target do not belong in cygwin 
/usr/include and /usr/lib.


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