Jump to content

Compile own program on shark


alcane
 Share

Recommended Posts

Hi,

I have some c files that i would like to compile with gcc on the Shark.

I understood that Shark is using openwrt. So i create my dev vm with openwrt on it.

I compile my program "HelloWorld.c" and i copy on the shark .... but its not work.

Its my begining to work on very tiny soc ... so any help will be welcome 🙂

Alexander

Link to comment
Share on other sites

  • 3 months later...

Hello, and welcome to Hak5 forums.

Let me start by pointing out that you aren’t getting any replies, because you have posted very little info as to the problem you are having. There are just too many possible causes to your troubles, and most folks don’t want to deal with rookies. I always try to remember we were all rookies once upon a time.

That said, please run the following commands on your SharkJack, and post the output in your reply:

ls -lh
file <name-of-your-compiled-program>

Note: I haven’t checked yet if the SharkJack has the “file” command. If it doesn’t, you may simply run the second command on your dev environment. Naturally, substitute the actual name of your program. Do not include the <angled brackets>.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...