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 3803336
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:20:50+00:00 2026-05-19T14:20:50+00:00

I am a java developer. I have some C++ code to make some system

  • 0

I am a java developer. I have some C++ code to make some system realted calls. This code is compiled on Intel 32-bit platform using GCC (I have make files) and it works fine on regular Intel based 32-bit linux machine. Now I need to run this on a linux OS running on Marvell ARM processor. When I load the shared objects in java I get the following error.

cannot open shared object file: No such file or directory (Possible cause: can’t load IA 32-bit .so on a ARM-bit platform)

Please tell me how to resolve this issue. I looked at the GCC options and I found one option to specify the architecture (-march=armv5) and I can’t compile with that option.

Thanks in advance.

  • 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-19T14:20:51+00:00Added an answer on May 19, 2026 at 2:20 pm

    You need more than just a switch, you need a cross-compiler. You can make your own, but probably the easiest way is :

    • Find the development tools for your board. It probably comes with a development kit that includes a cross-compilation toolchain

    • If you don’t have these, you can try to install a precompiled cross-compilation like the ones provided freely by CodeSourcery

    Then you have to make the location of your toolchain (look for something like arm-none-linux-gnueabi-gcc) available in your path.

    Cross compiling simple project is then easy, just override the CC variable in your Makefile :

    CROSS = arm-none-linux-gnueabi-
    CC = $(CROSS)gcc
    LD = $(CROSS)ld
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a Java developer and I have a question about automating a task I've
I've been a java developer for a couple years and have heard that you
My background is primarily as a Java Developer, but lately I have been doing
I have a Java Swing application, developed on Mac OS X 10.5 using Java
I'm a Java developer looking to learn some C#/ASP.NET. One thing I've never liked
Ages ago when I was a java developer I could make separate ant scripts
I have a problem with some JNI code. I'm getting the following error printed
I have just applied for a Java developer job and the recruiter told me
I'm a .Net developer, but for my current project I have to create some
I'm pretty new to Android development, but I have some experience with Java and

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.