Forum Discussion
Altera_Forum
Honored Contributor
16 years agocan't build project - strange memory problem
Hello, i got a strage error. i'm trying to built a simple helloworld program. when i compile i got this: **** Build of configuration Nios II for project HelloWorld2 ****
make all
Info...
Altera_Forum
Honored Contributor
16 years agoThe C library bits needed for the 'simple' programs are not completely trivial and need about 56k to run.
It is all down to the use of 'stdio' files to write diagnostics to the JTAG console - as well as printf() these drag in malloc() (etc) and stuff to call fclose() on exit. For a small embedded system none of these are necessary - and the final product won't have the JTAG active.