I was cross compiling my cpp file. then, I generated executable file. I made zImage which has path to the directories for my project and copied its program (application/octet-stream)to romfs/bin.
About my .cpp file, I designed it to print its results into text files. Now that I executed the file using Nios2linux kernel, the Nios2 terminal showed nothing on its screen and nothing being saved inside romfs/bin folder.
so, I want to ask. How can I cross compile my cpp files so that I could successfully obtained the output files appear on the any directory that I can access through ubuntu linux.