[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Packages needing rebuild for SpareMiNT???

Peter Slegg wrote:
I am not familiar with stack but I have seen it mentioned on this list.
Is it something that is added to the makefile ?

No, you can change the stack of any executable built with GCC and the MiNTLib using the "stack" tool afterwards.

To know the stack size of an executable:
stack someprog.prg

To change the stack size:
stack -S 256k someprog.prg

Alternatively, when you build some executable, you can set the stack directly by adding the following to your LDFLAGS:

Vincent Rivière