This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re:Strange behaviour of gcc

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: <>

>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)?


Tiscali ADSL: abbonati entro il 31 gennaio.
Non paghi l'attivazione.
Non paghi il primo mese.

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]