Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3AB6562D.1D5E3209@Network-Alchemy.com>
Date: Mon, 19 Mar 2001 10:55:41 -0800
From: Jonny Larson <JLarson@Network-Alchemy.com>
X-Mailer: Mozilla 4.74 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: GCC and alloca
References: <B7536E2DB26AD211A42500104BB49C72F604D9@manbarapp1.intgame.com> <20010319125625.F18807@redhat.com> <20010319130606.G18807@redhat.com> <20010319131832.A19287@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Even though we have no calls to alloca in our code, we're getting (link) errors
that __alloca is an unresolved external.  I believe this is because gcc seems to
use _alloca for allocating some local structures on the stack to optimize for
time.  Is there a gcc command-line option to turn this off?

If not, what is the library I need to include to resolve the alloca reference?

Thanks in advance



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

