Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6628921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:11:11+00:00 2026-05-25T22:11:11+00:00

Background : Trying to setup a cross compiler environment for arm target (TQ2440/Mini2440) On

  • 0

Background : Trying to setup a cross compiler environment for arm target (TQ2440/Mini2440)

On HOST running Red Hat:

  1. Wrote a simple hello program
  2. gcc -o hello hello.c
  3. compiles successfully
  4. ./hello
  5. displays the hello world message
  6. rm hello
  7. arm-linux-gcc -o hello hello.c
  8. file hello
  9. It says 32bit compiled for ARM compatible for Linux 2.0.0

Transfer the “hello” binary file to TARGET

  1. chmod a+x hello
  2. ./hello
  3. The problem:

    /bin/sh: ./hello: not found
    

Can anyone point out my mistake or what am I missing here?


I executed ldd on host: ldd hello and I got:

/usr/local/arm/3.3.2/bin/ldd: line 1:  
/usr/local/arm/3.3.2/lib/ld-linux.so.2: cannot execute binary file 
/usr/local/arm/3.3.2/bin/ldd: line 1: 
/usr/local/arm/3.3.2/lib/ld-linux.so.2: cannot execute binary file 
ldd: /usr/local/arm/3.3.2/lib/ld-linux.so.2 exited with unknown exit code (126)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:11:12+00:00Added an answer on May 25, 2026 at 10:11 pm

    Solved.

    I was transfering the file through ftp. You need to enter bin to switch to binary transfer mode. Works fine now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background: Trying to set up my dev. environment in new job. Have subversion installed
Background I have a simple socket server setup that I am trying to allow
I am trying to flash the background colour in a textfield. My timer setup
I have a setup where I am running a background service in Android with
I am trying to setup an NSInovcation system to launch selectors into background threads
https://i.stack.imgur.com/lbs7l.png I'm trying to setup admob below the background, but I keep getting admob
background: trying to use the twitter gem for ruby-on-rails. in routes: map.resources :twitter_sessions map.finalize_twitter_sessions
i have a vb.net background and trying to learn c# syntax
Background I am trying to create a copy of a business object I have
Background: I'm trying to create a pure D language implementation of functionality that's roughly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.