Thread: C++ library dependencies on compilers

  1. #1
    Registered User
    Join Date
    Jan 2005

    C++ library dependencies on compilers

    I have been away from the C++ world for a few years. "Back in the day", to link to a particular C++ library X, X had to be compiled with the same compiler as the one being used for application development because of name mangling, etc.

    What is the current state of C++ library dependencies on compilers? Have those dependencies been resolved or eliminated through standardization? Thanks in advance for clarification.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Even if the approach to name mangling were standard (which I doubt), you would still have the problem that object file formats are implementation specific as well.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. my free c++ library
    By jinhao in forum A Brief History of
    Replies: 0
    Last Post: 11-01-2007, 10:00 PM
  2. Replies: 4
    Last Post: 09-02-2007, 08:47 PM
  3. Linker errors in VC++ 2005
    By C+/- in forum C++ Programming
    Replies: 0
    Last Post: 05-18-2007, 07:42 AM
  4. Pi and the standard library
    By FOOTOO in forum C Programming
    Replies: 7
    Last Post: 04-15-2005, 11:23 AM
  5. Compilers, Compilers, Compilers
    By Stan100 in forum C++ Programming
    Replies: 11
    Last Post: 11-08-2002, 04:21 PM