NO alloca in RTEMS! Sugestions?

Oscar Martinez de la Torre omt at
Tue Jan 25 04:45:07 PST 2000


	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
        struct pollfd pollarray[FD_SETSIZE];    /* huge (use alloca?) */
        struct pollfd *pollarray = alloca(sizeof(struct pollfd) *


Ó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: omt at - Personal Mail: omt at

More information about the kaffe mailing list