|
|
Subscribe / Log in / New account

Fedora opens up to bundling

Fedora opens up to bundling

Posted Oct 15, 2015 15:50 UTC (Thu) by josh (subscriber, #17465)
In reply to: Fedora opens up to bundling by NAR
Parent article: Fedora opens up to bundling

> The (other) problem is difference between distributions. Ubuntu LTS has boost 1.54, SuSE has 1.49, debian jessy has 1.55 - now which version shall I use in my application?

Assuming you don't have specific feature requirements that necessitate a more recent version, you should use 1.54 on Ubuntu LTS, 1.49 on SuSE, and 1.55 on Debian stable. (Hopefully the C++ ABI will stabilize to the point that if you *really* want to build just one version for all distributions, you can build against the oldest you support and run with any newer version. But when you build as part of a distribution, you use that distribution's package and whatever version it provides.)


to post comments

Fedora opens up to bundling

Posted Oct 15, 2015 18:14 UTC (Thu) by ms_43 (subscriber, #99293) [Link] (1 responses)

Boost provides no ABI guarantees. The only way you can use boost is to bundle it.

Well, most of boost is header-only anyway, so the bundling is fully automated by cpp.

Fedora opens up to bundling

Posted Oct 15, 2015 20:18 UTC (Thu) by josh (subscriber, #17465) [Link]

> The only way you can use boost is to bundle it.

https://packages.debian.org/libboost-iostreams1.58.0

Fedora opens up to bundling

Posted Oct 16, 2015 13:21 UTC (Fri) by NAR (subscriber, #1313) [Link] (2 responses)

So I have to maintain three different versions for absolutely no gain. And gets really annoying when different versions have different bugs requiring different workarounds...

Fedora opens up to bundling

Posted Oct 16, 2015 16:33 UTC (Fri) by josh (subscriber, #17465) [Link]

No, you maintain zero versions, unless you particularly want to be a distribution package maintainer.

Fedora opens up to bundling

Posted Oct 16, 2015 16:45 UTC (Fri) by bronson (subscriber, #4806) [Link]

And it's even worse: you need to maintain three different build environments in three different distros (at least). Even with virtualization, that can take up quite a few hours per week right there.

Fedora opens up to bundling

Posted Oct 16, 2015 16:27 UTC (Fri) by stevem (subscriber, #1512) [Link] (1 responses)

> Hopefully the C++ ABI will stabilize

*giggle* Sorry, that's just pure comedy...

Fedora opens up to bundling

Posted Oct 16, 2015 16:34 UTC (Fri) by josh (subscriber, #17465) [Link]

See https://isocpp.org/files/papers/n4028.pdf and other standards-committee work on this.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds