Re: C++ lib compatibility between Red Hat 9 and 7.3

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

 



Otto Haliburton wrote:

The problem is moving apps from linux 7.3 to 9 without breaking the world or merely upgrading from one c++ compiler to the latest and the world breaking. There is no reason for that to happen and it won't happen in a MS, DEC or SUN environ.

Yes, it does:


http://wwws.sun.com/software/sundev/previous/studio7/compatchart.html

From that page:

  The binary interface for C++ underwent a major revision in the 5.0
  release with the introduction of support for much of the ISO/ANSI C++
  standard. Prior to 5.0, Sun's 4.x series of C++ compilers allowed
  developers to enjoy many enhancements with relatively no effect on the
  C++ binary interface. In most cases, this resulted in developers being
  able to mix-and-match .o's created with the different 4.x C++
  compilers.

  As the numbering implies, the 5.0 release was incompatible with the
  4.x generated .o's. The ANSI features couldn't have been implemented
  without this change.

There you go... Just as in gcc, the binary interface for C++ objects had to change to support the addition of more of the C++ language features. C++ is a huge, HUGE language. No one got it all in the first version of their compiler. As a result, ABIs for C++ changed.


-- 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