Re: Install different libs for different C++ compilers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Toralf Lund wrote:
Gordon Messmer wrote:

You're not going to get the gcc 3 C++ libraries unless you compile your software an all of the libraries it depends on using that compiler. Your options, then are to build your software once with each compiler and end up with one set of binaries optimal for 7.3 (gcc 2.96) and another set for 9 (gcc 3), or you can build all of the software on 7.3 and get binaries that will work on either platform.
>

The question becomes: How should the setup be changed to allow build with g++296, and execution of gcc 2.96/Red Hat 7.3 binaries?

The easy answer is: Keep a 7.3 box around. Compile and package your software on it. You should be able to use those packages on any 7.3 or newer platform.


The best option from a cost standpoint will always be to build on the oldest platform you want to support, and test the resulting software on all of the platforms you want to support.

If you identify features of a newer platform that you want to utilize, then you should try building additional packages on that platform, and test those on all of the platforms you want to support, newer than the build platform.




-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux