great thanks sir actually i am following this tutorial : https://rocketboards.org/foswiki/Documentation/NiosIILinuxUserManual
I m just near the destination, but generating the vmImage gives me this error,
aashish@aashish:~/linux-socfpga$ make
CC kernel/bounds.s
nios2-linux-gnu-gcc: error: unrecognized command line option '-march=r1'
nios2-linux-gnu-gcc: error: unrecognized command line option '-mno-bmx'
nios2-linux-gnu-gcc: error: unrecognized command line option '-mno-cdx'
Kbuild:21: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:1105: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
aashish@aashish:~/linux-socfpga$
I am stuck now, please help me, please
thanks in advance