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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:50:13+00:00 2026-06-09T01:50:13+00:00

Suppose I build an executable in little endian machine. In the application I take

  • 0

Suppose I build an executable in little endian machine. In the application I take an input from the user and compare it with a constant. I believe the constant will be saved as little endian during the compile process.
This exe is now run on big endian machine. The application takes input from the user. This input should be saved in big endian.
How does the comparison work then?

  • 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-06-09T01:50:15+00:00Added an answer on June 9, 2026 at 1:50 am

    A cross compiler is responsible to doing what’s necessary to produce an executable for the target machine(s). If the host happens to be little endian and the target big endian (or vice versa), then yes chances are pretty good it’ll have to take that into account.

    Endianess is just one of many factors involved here though — virtually anything about the target (e.g., file formats, instruction set, OS interface(if any), number and/or size of registers) is likely to be different.

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

Sidebar

Related Questions

Suppose we have two variables that we wish to build a model from: set.seed(10239)
I want to build a user control suppose MyDiv.ascx. This control renders the div
So I'm suppose to build a multidimensional array dynamically from a text file, and
Suppose I have a Maven 2 Java project on my local machine. I build
A function I'm supposed to build is supposed to take in a list of
I am using Visual Studio 2008 to build my projects. I often take existing
I've got a executable JAR file. And I've got an Ant build script that
Suppose I wanted to build a website that deals with and facilitates monetary transactions.
suppose you have those model relations: Offer HABTM Category How would you build the
Suppose I am developing an application for a product distributor in C#. The distributor

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.