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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:53:21+00:00 2026-05-26T21:53:21+00:00

Is a boost binary archive portable from one Linux x86_64 machine to another Linux

  • 0

Is a boost binary archive “portable” from one Linux x86_64 machine to another Linux x86_64 machine?

The documentation suggests it is, by using the term native binary, however, I have not yet been able to do it. Is it “my fault”, or is such a thing not possible?

I do know about portable binary archives, but I understand they are not tested well…

EDIT: In addition to SoapBox’s answer, I figured out the boost library version needs to be the same on both machines

  • 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-26T21:53:22+00:00Added an answer on May 26, 2026 at 9:53 pm

    If both machines are The same version of 64-bit Linux on an x86-64 CPU, then you don’t need any special “portability” code or options. The binary formats of these two machines are, by definition, identical. If one machine can load the archive then the other one also can.

    This is not guaranteed but still usually true on different OSes as long as the underlying hardware is the same. (That is, 64-bit windows on x86-64 should be able to load an archive created on 64-bit Linux x86-64.)

    If the processors are different, then you’ll need to use a “portable” archive format. Boost.Serialization’s text archives should be portable because the conversion to the non-portable binary representation is done from the text in the archive at load time.

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

Sidebar

Related Questions

I have a problem using boost serialization using binary archives. It works when using
I try to serialize to a binary archive then load this archive using the
i'm having trouble packing a bunch of files into one archive. the boost docs
I'm getting a response from a server using boost::asio. The result is stored in
When building Boost binary libraries with bjam , one may specify which compiler to
Is there anything in boost libraries like binary? For example I would like to
Can Spirit (part of Boost C++ library) be used to parse out binary data
I want to have a static Universal binary lib of Boost. (Preferable the latest
Recently, I try to use the boost::spirit::qi binary endian parser to parse some binary
I am using boost::program_options like this: namespace po = boost::program_options; po::options_description desc(Options); desc.add_options() (help,?,

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.