delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/27/13:49:41

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: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 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
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 AT cygwin DOT com
References: <B242BB0F12C2544BB4FEB0B1B67AAF8E15BCC413 AT NDMSMBX402 DOT ndc DOT nasa DOT gov> <0ff02a77-4a12-0f39-bd92-6963adff6100 AT maxrnd DOT com>
From: Mark Geisert <mark AT maxrnd DOT 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>

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

- Raw text -


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