Hi vgarcia!!
Let's try this in NiosII IDE:
1) click right on "hello_world_syslib" project and click "Properties"
2) in "C/C++ Build" panel, set the "Optimization Level" to "Optimize most (-O3)" and define the following symbol for the "Preprocessor": ALT_NO_INSTRUCTION_EMULATION
3) in "System Library" panel, set "Periodic system timer" to "none"; set "Max file descriptor" to 4; uncheck "Clean exit"; check "Reduced device drivers"; check "Small C Library
4) click right on "hello_world" project and repeat step 2
5) build all and have fun!
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif
Bye