From owner-freebsd-questions Mon Oct 15 15:50: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pilsener.srv.ualberta.ca (pilsener.srv.ualberta.ca [129.128.5.19]) by hub.freebsd.org (Postfix) with ESMTP id E2C1437B401 for ; Mon, 15 Oct 2001 15:49:53 -0700 (PDT) Received: from there (h24-82-23-90.ed.shawcable.net [24.82.23.90]) by pilsener.srv.ualberta.ca (8.11.6/8.11.1) with SMTP id f9FMnqj22504 for ; Mon, 15 Oct 2001 16:49:52 -0600 (MDT) Message-Id: <200110152249.f9FMnqj22504@pilsener.srv.ualberta.ca> Content-Type: text/plain; charset="iso-8859-1" From: Matt Barnett To: freebsd-questions@freebsd.org Subject: Massive program bloat using g++30? Date: Mon, 15 Oct 2001 16:50:41 -0600 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all. I'm new to FreeBSD, although not unix in general, and I've been having a lot of fun playing with it. I decided to try out the newest version of gcc in the port system, gcc 3.0.1, purely for shits and giggles. It compiled and installed fine, but the g++30 compiler seems to generate MASSIVELY bloated files for trivial programs. A simple Hello World! program using iostreams comes in at 1.8MB when compiled with g++30, versus 5KB with g++ (version 2.95.3). Am I missing some blindingly obvious mistake I'm making that would explain my 1.8MB monstrosity, or is this actually normal behaviour for g++ 3.0.1? Just curious, Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message