Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by hippo+jun 5 2006, 08:57 am--><div class='quotetop'>quote (hippo @ jun 5 2006, 08:57 am)</div>
--- quote start ---
<!--quotebegin-jay_1025@Jun 5 2006, 08:10 PM hi hippo
i have problem about compiling personal app program.
this is procedure of my compiler, as following:
1. execute nios2-linux-uclibc-gcc 123.c -o 123 -elt2flt
2. cp 123 to ~/uclinux-dist-test/romfs/bin
3.make linux image
but i can't run my app program under uclinux.
how to compile my apps program under uclinux-dist-test that is correctlly ?
thx !
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15913)
--- quote end ---
--- Quote End --- Your steps are OK. Have you tried a simple hello? On nios2 uclinux, ls -l /bin <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15919)</div> [/b] --- Quote End --- hi hippo I don't try hello simple. I think that I miss 2 steps with "make" and "make romfs". 1. Execute nios2-linux-uclibc-gcc 123.c -o 123 -elt2flt 2. cp 123 to ~/uClinux-dist-test/romfs/bin 3.make 4.make romfs 5.make linux image I can run my app program under linux and have some problems. But this app program can run under linux-2.6.16.1 that is ok .