From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126488 invoked by alias); 27 Jul 2018 17:49:30 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 126476 invoked by uid 89); 27 Jul 2018 17:49:29 -0000 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 Received: from m0.truegem.net (HELO m0.truegem.net) (69.55.228.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Jul 2018 17:49:28 +0000 Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id w6RHnQbE061724 for ; Fri, 27 Jul 2018 10:49:26 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 76-217-5-154.lightspeed.irvnca.sbcglobal.net(76.217.5.154), claiming to be "[192.168.1.100]" via SMTP by m0.truegem.net, id smtpdnhs0tV; Fri Jul 27 10:49:19 2018 Subject: Re: needed : building instruction of newlib under window 10 cygwin32 or cygwin64ls To: cygwin@cygwin.com References: <0ff02a77-4a12-0f39-bd92-6963adff6100@maxrnd.com> From: Mark Geisert Message-ID: Date: Fri, 27 Jul 2018 23:11:00 -0000 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 X-SW-Source: 2018-07/txt/msg00270.txt.bz2 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