Hi!
I'm trying to compile kaffe 1.0.5 for RTEMS.
I can not use alloca function so, this fails:
kaffe/kaffevm/intrp/machine.c line 128
/* Allocate stack space and locals. */
lcl = alloca(sizeof(slots) * (meth->localsz + meth->stacksz));
How I can change this line?
In other source file, there is an if
and it works because DONT_USE_ALLOCA is not defined!
jthread.c line 1609
#if DONT_USE_ALLOCA
struct pollfd pollarray[FD_SETSIZE]; /* huge (use alloca?) */
#else
struct pollfd *pollarray = alloca(sizeof(struct pollfd) *
(maxFd+1));
#endif
Thanks,
Oscar
--
�scar Mart�nez de la Torre - Office Phone: +31-(0)71.565.5844
Telecommunication Engineer at Universidad Polit�cnica de Madrid
European Space Agency ESTEC/TOS/EMS Erasmus Building Office Nb212
Keplerlaan,1 - NL 2201 AZ - Noordwijk ZH - The Netherlands
Mail: [EMAIL PROTECTED] - Personal Mail: [EMAIL PROTECTED]