Minimal example "hello world"

Moderator: nferre

micro1
Posts: 42
Joined: Sun Jun 08, 2014 11:55 am

Minimal example "hello world"

Sun Jun 08, 2014 11:57 am

Hello,



i am new in embedded Linux. I have start up the board.

I alreadey have ssh connection via Ethernet running. I am able to copy files. I have succesful build hello word in Linux for x86. But how can i compile it for this board. I already make cross compile, but when i copy the main to the board and execute it with ./main the board tells
root@sama5d3_xplained:/jenstest# ls
main
root@sama5d3_xplained:/jenstest# ./main
-sh: ./main: No such file or directory
root@sama5d3_xplained:/jenstest# Is there an minimal hello world example anywhere?
micro1
Posts: 42
Joined: Sun Jun 08, 2014 11:55 am

Re: Minimal example "hello world"

Mon Jun 09, 2014 9:30 am

Hello,

Problem is solved. I forgot to use -static option

Return to “SAMA5-based”

Who is online

Users browsing this forum: No registered users and 1 guest