Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

A problem when cross compile?

Altera_Forum
Honored Contributor II
848 Views

I write a simple “hello world” c program,and in linux using the following command 

code:# nios2-linux-uclibc-gcc -elf2flt -o hello hello.c# file hello 

hello : data 

 

why the format of \"hello\" isn\'t flat ? I download it to uclinux,and run ./hello ,it outputs \"permission dennied\",so what\'s my problem ? the excutable format on uclinux is flat,isn\'t it?
0 Kudos
0 Replies
Reply