X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=reWGygiZCHDXEO50
	jg2gE/f5JB8Zs/iq/aKGvZWcMyporBdBszw/NU52ARakiwe/ieazef136SnKeB3X
	33f+SGTHTvwoLzAvkfHTCfrJ6qgRtPC2F+LNhPsTaj/IygFVTPupAJ8Wpqqvi7QD
	KqQoLnU9hDkxaICH/PUwALDPbMA=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=rswTLf9XJdw5QjPvJ9KDQ8
	roL50=; b=lXeC8pFwVJvL/B0R/HU0Alrgxued5z1b5XG6if7Wb4DPGeoBt7lFPc
	gdeNnf8dS1nYUYpcOF6zSB7EEEEZaIGR0659s5y0lzTc+xt8x/fYrjuTrRsY9nxM
	/V4rXOsiQdj9xcmOyoClK1GT4g3pIxqu+YNVu+J/FIwrE1WN5LUm8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=shen, Shen, Chang, Geisert
X-HELO: m0.truegem.net
Subject: Re: needed : building instruction of newlib under window 10 cygwin32 or cygwin64ls
To: cygwin@cygwin.com
References: <B242BB0F12C2544BB4FEB0B1B67AAF8E15BCC413@NDMSMBX402.ndc.nasa.gov> <0ff02a77-4a12-0f39-bd92-6963adff6100@maxrnd.com>
From: Mark Geisert <mark@maxrnd.com>
Message-ID: <c1be9877-6d41-eb59-fcf1-651f7ab801ac@maxrnd.com>
Date: Fri, 27 Jul 2018 10:49:19 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46
MIME-Version: 1.0
In-Reply-To: <0ff02a77-4a12-0f39-bd92-6963adff6100@maxrnd.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Replying to myself to correct things...

Mark Geisert wrote:
> Shen, Chang (MSFC-EV43) wrote:
>> Hi All
>>
>> Can anyone provide me with a step-by-step instruction to build newlib under
>> window10 cygwin32 or cygwin64?
>> Such as tool chain and environment settings.  I googled and could not find it.

I should read better.  I see so many "how to build Cygwin" questions I read 
yours as another one.  You're doing something different.  Here's what works:

     cd /opt    (for example)
     mkdir build install
     ln -s your-source-directory src

     cd build   (so you're in /opt/build)
     /opt/src/configure --prefix=/opt/install -v
     mkdir newlib

     cd newlib  (so you're in /opt/build/newlib)
     /opt/src/newlib/configure --prefix=/opt/install/newlib -v
     make

That will create libm.a, libg.a, and libc.a in /opt/build/newlib.

..mark

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

