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:message-id:date:from:subject:to:references :content-type; q=dns; s=default; b=AsW6RPjp11/jVov5y8L1WEAvkRZvz t6D+aKrFYfEWJaYyjPUAMoqCvxbVQ1h7qDFaTfYcSTH8j7z12fCES58WPkovJy3S krnG/cRCyc2uXLLguJZQjYyBci7/N4AUsMsq7AUzH9FBPr8eJpdcWd2h4BFt/KD8 viDUY3WOici10U= 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:message-id:date:from:subject:to:references :content-type; s=default; bh=t/aJ3tKsq1xNF4/w/Ny31xjwxyA=; b=Ywe 0FnR5b1+GxwnZcqbIixVdmkmhdE+PiOgZxdziFIv4BW6aoidatMhyhdmDZgtLx7g IGFfhira1qO9SjWn19koGXpe7bcokySX/qEuBXHJ1cyhcwC+0fdOHK1FRWK4Fip0 fVjL5RXet+aXKORFs20azueRDcIRThcMTFUeRlL8= 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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:923, H*M:1c69fb81, H*M:google X-HELO: mail-oi0-f51.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:subject:to:references:user-agent; bh=Jq3z9p2raA43sjC3zXCu27JSgtN4iC49MfYHPM7AjFE=; b=RTB2170khs/wBge6udlwtWoioJK9PmGTiQXG6ka+1ed96BfAeDefvhYworRSWM76Sq 9WDahOfujLA/QWgS6GHmJJNl0TS9UQKfYCTh4tISSsV6E4IcJNd+RenPbWO2d5AjWErR Srh24LWF1aMrN9v3OUF0i8wW+ms/mSwo6ONnIIoBR2vfSrVSbk8iPiE92mIZixLCcrc2 jGm2mKUrECPiYU6hq5Boojrd2Xj19tX0Tr9OIJQpfoGppV4Qh64eNx5Kz4OZPy7qe8YI CjP5gf2rlTD6BuGUWpc4GeJnFLl1LEl3mJerw4PxO9X11ZmVmDJHZaLCBWwBoUjmPSO1 jJAg== Message-ID: <5b809f2e.1c69fb81.9d88d.b1dd@mx.google.com> Date: Fri, 24 Aug 2018 17:13:34 -0700 (PDT) From: Steven Penny Subject: Re: [ANNOUNCEMENT] [Updated] mingw64-{i686,x86_64}-gcc-7.3.0-1 (Test) To: cygwin AT cygwin DOT com References: Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.8.0 (cup.github.io/tryst) On Fri, 24 Aug 2018 10:11:42, JonY wrote: > Can you try breaking it down by phases? > 1. Preprocessor phase with -E -o file.ii $ time x86_64-w64-mingw32-g++ -E -o file.ii stoi.cpp; wc -c file.ii real 0m0.172s 719550 file.ii > 2. Compile phase (compile output from phase 1) with -c $ time x86_64-w64-mingw32-g++ -c file.ii; wc -c file.o real 0m0.312s 7368 file.o > 3. Link phase, point gcc to the output from phase 2. $ time x86_64-w64-mingw32-g++ -static file.o; wc -c a.exe real 0m1.950s 11906797 a.exe Also it might be worth noting the starting point - for some reason Cygwin is 4 times larger than Msys2? $ wc -c /lib/gcc/x86_64-w64-mingw32/7.3.0/libstdc++.a 22446354 /lib/gcc/x86_64-w64-mingw32/7.3.0/libstdc++.a $ wc -c mingw64/lib/gcc/x86_64-w64-mingw32/8.2.0/libstdc++.a 5597192 mingw64/lib/gcc/x86_64-w64-mingw32/8.2.0/libstdc++.a -- 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