This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Strange programming problem

Hi,

I am using DM3730 SDK in Linux.

In a single C file, the main function is at the bottom of the file.

Above the main function, there are many C functions called by the main function.

In every C function, there is a printf to show which function is being called.

There is no compilation error for the ARM program.

But when I run the program in Linux prompt,  the printfs show only the first few functions are being called.

What could be the problem ?

could it be the problem of  stack size or heap size ?

How to change the stack size or heap size in a Linux makefile ?

Thanks,

Mr Tan