Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 28 Dec 2002 21:11:01 +0100
Message-ID: <3E00A2010000CAA2@mail-8.tiscalinet.it>
From: fabrizio_ge-wolit@tiscali.it
Subject: Re:Strange behaviour of gcc
To: cygwin@cygwin.com
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBTK3nh16116

From: Randall R Schulz <rrschulz at cris dot com> 
To: cygwin at cygwin dot com 
Date: Tue, 24 Dec 2002 08:16:59 -0800 
Subject: Re:Strange behaviour of gcc 
References: <20021224051134.95173.qmail@web21408.mail.yahoo.com> 

>Stack space is usually far more limited than heap
>space, which I assume is what motivates this behavior
>in the code generator. The programming language's
>semantics are maintained. 

What I would like to do is to build a DLL which does not link to the C runtime
library (and therefore it does not have access to _alloca or other CRT functions).
The executable dynamically loads the DLL with dlopen() and the DLL calls
some callback functions provided by the executable. The DLL's size is about
20KB if it links to CRT, 8KB if it does not. The main motivation is to have
a small file.

So, is there a gcc option which allows not to call _alloca (even if the
performance is sub-optimal)?

Regards
Fabrizio

__________________________________________________________________
Tiscali ADSL: abbonati entro il 31 gennaio.
Non paghi l'attivazione.
Non paghi il primo mese.
http://www.tiscali.it/adsl




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

