The proc is a pseudo filesystem. You cannot create it in advance.
You can read linux-2.6.x/Documents/filesystems/proc.txt.
Due the missing redirect in sash, you can look at the blackfin's uclinux,
uClinux-dist/user/blkfin-test/audio_test/echo2.c
And you should really work on Linux instead of nios2ide.
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
If you want to develop Nios II uClinux, you should work on Linux and learn Linux. You can learn a lot when working on Linux, and the "Linux know how" is the key to success on Nios II uClinux.[/b]
--- Quote End ---