delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/29/15:03:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 28 Dec 2002 21:11:01 +0100
Message-ID: <3E00A2010000CAA2@mail-8.tiscalinet.it>
From: fabrizio_ge-wolit AT tiscali DOT it
Subject: Re:Strange behaviour of gcc
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
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 DOT 95173 DOT qmail AT web21408 DOT mail DOT yahoo DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019