From owner-freebsd-chat@FreeBSD.ORG Tue Oct 19 07:32:46 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B3C016A4CE for ; Tue, 19 Oct 2004 07:32:46 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC51043D1F for ; Tue, 19 Oct 2004 07:32:45 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from gothmog.gr (patr530-b139.otenet.gr [212.205.244.147]) i9J7Wcis019192; Tue, 19 Oct 2004 10:32:43 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i9JAWVAV000993; Tue, 19 Oct 2004 13:32:31 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i9JAWVkp000992; Tue, 19 Oct 2004 13:32:31 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Tue, 19 Oct 2004 13:32:31 +0300 From: Giorgos Keramidas To: Vulpes Velox Message-ID: <20041019103230.GA641@gothmog.gr> References: <20041018184016.3dbed7b8@vixen42.24-119-122-191.cpe.cableone.net> <20041018235001.GA99564@gothmog.gr> <20041018214640.6d110a53@vixen42.24-119-122-191.cpe.cableone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041018214640.6d110a53@vixen42.24-119-122-191.cpe.cableone.net> cc: chat@freebsd.org Subject: Re: learning c++ X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 07:32:46 -0000 On 2004-10-18 21:46, Vulpes Velox wrote: > On Tue, 19 Oct 2004 02:50:01 +0300 > Giorgos Keramidas wrote: > > On 2004-10-18 18:40, Vulpes Velox wrote: > > > been messing with learning strings and the like and I am getting a > > > a.out that has a obscene size... 142kB in size... > > > > Is your executable dynamically or statically linked? > > Managed to get it down to 248448, which appears to be the smallest > size I can manage to generate with c++... any ideas? > > btw if it makes a difference, I am running 4stable I'm running gcc version 3.4.2 [FreeBSD] 20040728 from 6.0-CURRENT, so you might be getting different results because of the differences of gcc 3.4.x running on -STABLE.