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:subject:to:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=Ciq XM3l4X3NBp1CkKa1CHIX1a8tZuEWtygDi7O8Nk/RyG9gkMeu2ymP8gmid/HiNwZ5 253Rj1n3JAv+vEnlYX3w0SCiGa6RBh4LngUHvMSGRAUNnMmzqyUNApXuyWIpB6us Xv+vVh2q2CFxirsXdqemlEZCeX5/dRD3CmKn2OqM= 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:subject:to:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=tZ8u+vEvz c8HEyAGudpSX7u8dC8=; b=qPBwm5cUPB55RcxS6sxYjoc7R8UdEtRNgvf3TmcvI qHImTq+/X/+FgI2ZM7ckeOEJPCT+Mwk+znko+wjvZVzSeVvxTaWCpdlDkyVVSxHx Iys18J45vMHDzxIYYrq8Y+p1pQfaDssf6DGK5MRt5xBuFlCw22GoRw51mBBKGfoD ak= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=016, Pentium, struggle, mingw64 X-HELO: filter02.roch.ny.frontiernet.net X-Previous-IP: 96.247.120.186 From: Nirgendsdorf Subject: Attempting to build cygwin1.dll To: Cygwin mailing list Message-ID: Date: Mon, 29 Aug 2016 19:21:54 -0700 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes System details first: "CYGWIN_NT-5.1 GKDC531 2.5.2(0.297/5/3) 2016-06-23 14:27 i686" on Windows XP SP3, on a dual-core Pentium 4 (i786) box. I have rebuilt and optimized gcc and several math libraries with the architecture-specific options of gcc, `-march=native' and `-mfpmath=sse', to get the most out of my old box. This strategy has proven successful; my gcc build runs noticeably faster than the distribution version. Ultimately, I hope to build an ffmpeg that also runs a bit faster. (As things are, ffmpeg can take *days* to recode a feature-length video on my box.) Following the instructions in section 6.21 of the FAQ, I installed the various build tools (cocom, etc.) and then... $ (/home/projects/newlib-cygwin/configure --prefix=/usr -v CFLAGS='-O3 -march=native -mfpmath=sse' CXXFLAGS='-O3 -march=native -mfpmath=sse'; make) |& tee build.log configure: loading site script /usr/share/config.site checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for a BSD-compatible install... /bin/install -c checking whether ln works... yes . . checking for isl 0.16, 0.15, or deprecated 0.14... yes \ ? checking for isl 0.16 or 0.15... no / ? . [Everything going well, until...] . checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking for x86_64-w64-mingw32-gcc... no configure: error: no acceptable mingw64 cc found in $PATH ^^^^^^^^^^---------------------------??????? configure: error: /home/projects/newlib-cygwin/winsup/lsaauth/configure failed for lsaauth make[1]: *** [Makefile:9420: configure-target-winsup] Error 1 make[1]: Leaving directory '/home/projects/cygwin_build' make: *** [Makefile:883: all] Error 2 I am sure I have all the support libraries for the 32-bit mingw gcc installed and working (I've built software with it). Does this mean a 64-bit machine is required to build the Cygwin DLL? I tried the Newlib-Cygwin distribution sources, and I downloaded the sources from git://sourceware.org, all with the same result. A Google search turned up only one article that might be helpful: "After a great struggle (and lots of googling around) i finally compiled cygwin1.dll on linux and tested in a win32 environment, the process wasn't straightforward but it worked." https://cygwin.com/ml/cygwin-developers/2010-08/txt00000.txt Some of this I could follow, but some of it was well beyond me. Really, all I need from the Newlib-Cygwin package are libm and the Cygwin dll, optimized by being built architecturally specific so that I can build ffmpeg (and maybe some other things, similarly optimized) on this platform, and hope they do not take days to complete a job. Please help? Jeff By the way, how is cocom to be used to build Newlib and the DLL? What little documentation that comes with the Cygwin package is.... intriguing... -- 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