This is the mail archive of the cygwin@cygwin.com 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]

GCC and alloca



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


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