Re: Compile for C6 / glibc

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



Am 26.08.2015 um 01:04 schrieb Johnny Hughes <johnny@xxxxxxxxxx>:
> On 08/25/2015 05:48 PM, Leon Fauster wrote:
>> Am 25.08.2015 um 19:17 schrieb Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg@xxxxxxx>:
>>> 
>>> On 08/25/2015 07:11 PM, Leon Fauster wrote:
>>> 
>>> So the easiest solution would be that the vendor (2)
>>> build the software on a C6 system. Most likely it will
>>> compile fine, and the produced binary will run on C6 as
>>> well as more recent distributions.
>> 
>> 
>> sure, thats always possible but exist there some backward 
>> compatibility switch when compiling against a newer glibc?
>> 
> 
> No, not really.  When you compile a program it LINKS against the
> standard c or c++ library.  You have to run it on a c library that has
> all the features / functions .. that is WHY it puts the version in.
> 
> If you want it to work on CentOS, it needs to be compiled on CentOS ..
> pretty simple.
> 
> There does EXIST a compat-glibc (or compat-gcc) to run OLDER stuff (ie
> things for CentOS-6) on a newer distro (ie CentOS-7).  But those side
> load an older version of the libraries for use on the new system.
> 
> Technically, if they used the older version of glibc/gcc (and any other
> required library links) on ubuntu, you can make things work, but it
> would be easier to compile the software on the platform where it is
> intended to work.


yep, thats the so called backward compatibility 

https://www.kernel.org/pub/software/libs/glibc/hjl/compat/

okay, thanks for the input. I will try to convince the vendor.

--
LF




_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux