From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id 036993858D33 for ; Sat, 21 Jan 2023 13:16:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 036993858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-x332.google.com with SMTP id k1-20020a056830150100b006864d1cb279so4663389otp.5 for ; Sat, 21 Jan 2023 05:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=t9CDHc8HQNBizx0W7qDDOQm3RGyGnGc/vHi5qEsA3v8=; b=YVHwWu802biKCvqpov88jLWm4eCCsyXwf23rWR1nZxJF24Dm4xOKtJwXJBevuXsg1+ 7r8BDWELWKkYQx6+wHPWegInAecedkCPj/UpFEpDBHL0tNi5jpumvnGAOCuPz/gHner+ 9WaF279VHq7j3UaoUS545DmwDzNDEju1Z324igKaHeZUL9ChElmwpWl3wYsxTdwHto5A C5WVUyJMORokxCpMrdsCmZ3tNrFrex9iH/IpwlgGyOimprnQHtzIMJVIR36Dmtl7cj54 1Pn3VUaMp4Sd853p6Tn7uouun5TpzMTofczs4d7S7pMiUHiIBBOK1r5Q4fkgVhFCRzVt zrFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=t9CDHc8HQNBizx0W7qDDOQm3RGyGnGc/vHi5qEsA3v8=; b=Q4lS76tAZjGAaTMvOgBmppBvbwgox2nNPupHXYxG8rOCvP8O4sfodSFTx5cu5qpKim K2Jjp7FKtiih3bzdx2dfKRG56njwLdzTKeadbotenffIwL4DuL/D4LVRtB6xBLr7d/iW azTUaubQiRkjBYkgcRo8I78deXY3LpDLxpurAJqZtDTC5m01j+0MWimFpfa5818sJHa+ QUn7RTYO678YjqVB485Zd8g7HPfv0SRKwNzb394ptsLb3F2Mfblc1krkxs0j/H7Q5c/T k9kfiGU+73VM+1AyB0S9pu17p8OPGM9zpXUx0BFvvutawObmcTQkCYuP2YRN58Lar0Ua hjtQ== X-Gm-Message-State: AFqh2kp3gjFZb9huBQ8pRusUtv1sJYYZ56lSrlIql3ULVF8PcChyhKaL RGAni7yGLVlI6isnIOAlB28kOQ3f3r215pxB8/E= X-Google-Smtp-Source: AMrXdXugRIrQ+eWapDSfuzqQBUsT0E3UXu53QjfwMlhpjYOKxdHP9SIZx47hKliWuHHVwDUi2rDNJ33ZI0B9XDQI+qY= X-Received: by 2002:a9d:6f09:0:b0:672:6b44:379c with SMTP id n9-20020a9d6f09000000b006726b44379cmr1041560otq.169.1674307000269; Sat, 21 Jan 2023 05:16:40 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: NightStrike Date: Sat, 21 Jan 2023 08:16:29 -0500 Message-ID: Subject: Re: Executable size To: Mike Rejsa Cc: gcc-help Content-Type: multipart/alternative; boundary="000000000000ff012905f2c5f965" X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000ff012905f2c5f965 Content-Type: text/plain; charset="UTF-8" On Fri, Jan 20, 2023, 22:47 Mike Rejsa via Gcc-help wrote: > Hi, new to gcc, running 32b on an old Win-XP notebook. > > When I compile small utilities (say, treesort or equivalent, just console > output) I get executables that are from 10-16 times larger as with my > previous compiler (a 16b Aztec). Something that compiles to 7-8k with the > Aztec is 100k+ with gcc. Why is this? > > TIA > miker > Strip them afterwards. There's also -Os as an option. > --000000000000ff012905f2c5f965--