Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3AB758E2.39EDD6C5@yahoo.com> Date: Tue, 20 Mar 2001 08:19:30 -0500 From: Earnie Boyd Reply-To: Earnie Boyd X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Jonny Larson CC: cygwin AT cygwin DOT com Subject: Re: GCC and alloca References: <20010319125625 DOT F18807 AT redhat DOT com> <20010319130606 DOT G18807 AT redhat DOT com> <20010319131832 DOT A19287 AT redhat DOT com> <3AB6562D DOT 1D5E3209 AT Network-Alchemy DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jonny Larson wrote: > > 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? > What command line are you using for linking? Is this C or C++ or something else? Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple