From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20696 invoked by alias); 15 Oct 2002 00:21:46 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 20646 invoked from network); 15 Oct 2002 00:21:45 -0000 Received: from unknown (HELO skynet.stack.nl) (131.155.140.225) by sources.redhat.com with SMTP; 15 Oct 2002 00:21:45 -0000 Received: from turtle.stack.nl (turtle.stack.nl [2001:610:1108:5010:202:b3ff:fe17:a070]) by skynet.stack.nl (Postfix) with ESMTP id DE9014034 for ; Tue, 15 Oct 2002 02:21:52 +0200 (CEST) Received: by turtle.stack.nl (Postfix, from userid 1663) id D77E82E; Tue, 15 Oct 2002 02:21:44 +0200 (CEST) Date: Mon, 14 Oct 2002 17:21:00 -0000 From: Michiel Buddingh' To: gcc-help@gcc.gnu.org Subject: Re: Giant executables.. what am I doing wrong? Message-ID: <20021015002144.GA35401@stack.nl> References: <20021014234939.GA35014@stack.nl> <003d01c273de$f0768bb0$0100a8c0@windows9q3yn19> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003d01c273de$f0768bb0$0100a8c0@windows9q3yn19> User-Agent: Mutt/1.4i X-SW-Source: 2002-10/txt/msg00176.txt.bz2 On Mon, Oct 14, 2002 at 08:08:06PM -0400, Joshua Nye wrote: > Are you sure you want to create a static executable? Yes. :) > If you are trying to > save memory, shared executables are probably better. True. But the system I'm programming for is going to be severely limited in memory. Limited to 4 MB of RAM, to be exact. It is not going to have virtual memory, and disk space will be less than 1 MB. Furthermore, I expect it's perfectly feasible to implement the program I'm writing using system calls only. Given that, it doesn't make sense to build it as a shared executable. -- -- Michiel