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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:26:39+00:00 2026-06-13T02:26:39+00:00

Are there any idiosyncrasies or variations between distros that would affect C++ binaries compiled

  • 0

Are there any idiosyncrasies or variations between distros that would affect C++ binaries compiled with GCC 4.7.x on one distro being used directly on another? I understand that the ideal situation is to compile from source on the second distro but I’d really prefer not to worry about compiling new GCC versions and the program source code on my production machine. I’m a relatively inexperienced linux user (hence the question!) and still prefer IDEs as opposed to command line compilation, ssh being all I can really use to access the production machine.

The code itself is nothing interesting but it does make use of some run of the mill OS facilities like blocking sockets and the like.

Any advice would be greatly appreciated!

  • 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-13T02:26:40+00:00Added an answer on June 13, 2026 at 2:26 am

    Unless the binaries are built on exactly the same OS (including version) and exactly the same hardware there are no guarantees.

    In practice:

    1. If the hardware is the same family of chip it should work.

      • This is because most people don’t turn on the hardware specific optimizations (but they can).
      • Moving binaries across chip sets is highly unlikely to work
      • Moving binaries from older to newer members of a hardware family is likely to work
      • Moving binaries from newer to older members of a hardware family is less likely (but will depend on optimization and compiler settings (ir moving from 64 to 32 bit architecture is unlikely to work).
    2. If the OS has the same Major number then it should (probably) work.

      • The version of OS that a binary will work across will depend on the version of the compiler used to build it and the host OS.
      • If the compiler has changes in the ABI it generates then all bets are off. But usually a change in the ABI generated by the compiler will be a major issue and thus only happen at major points in the OS road map (not at minor increments).
    3. My advice build from source.

      • Don’t specifically go out and update the development environment (use the one that comes with distribution (if you do the default updates they will not break backwards compatibility)).
      • Building is easy just read the README file. But usually it involves running two commands ./configure and make. If you don’t want anything special you usually do not need to do anything else.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to make argparse pass several arguments as one? That is,
Is there any functional difference in Python between a try statement and an if
Is there any way I can set a formatter on models that will convert
Is there any difference (compiler/interpreter/juju wise, etc) between the two versions of checking the
Is there any Zend Helper that can make PDF document with tables. i need
Is there any way to read some HTML and replace that HTML with a
Is there any difference between: <img src=http://www.foo.com/bar.jpg /> and <img src=/bar.jpg /> ? Is
Is there any event that fires when WPF Animation ends? void HideDefaultScreenImageTimer_Tick(object sender, EventArgs
Is there any hot key in Xcode that can go to filter box in
Are there any practical difference between the two coding patterns in Delphi: Version 1

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.