Mixing gcc 2.9* with gcc 3.*

This is a discussion on Mixing gcc 2.9* with gcc 3.* within the Linux Programming forums, part of the Platform Specific Boards category; Hi all, OK, redhat 7.2 and 7.3 are distributed with gcc 2.9*. redhat 8.0 is distributed with gcc 3.2. Now ...

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    351

    Mixing gcc 2.9* with gcc 3.*

    Hi all,

    OK, redhat 7.2 and 7.3 are distributed with gcc 2.9*. redhat 8.0 is distributed with gcc 3.2.

    Now from my experience, and research, you cannot mix libraries that are compiled with 2.9* with libraries that are compiled with 3.2* (because of differing paths and symbols); particularly c++ libraries.

    Is this true?

    Is there any way that you can link with 2.9* libraries whilst using gcc 3.2?

    Is it undesirable to mix?

    TIA, rotis23

  2. #2
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    Posts
    533
    this may or may not help...
    From what I have read it doesn't really solve it, but it does shed some light on the subject and one post got a program to work...

    http://www.faqchest.com/prgm/gcc-l/g...01/gcc-030105/

    good luck.

    -LC
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 10:38 AM
  2. Replies: 4
    Last Post: 09-02-2007, 09:47 PM
  3. advanced math library for linux?
    By Cobras2 in forum Linux Programming
    Replies: 5
    Last Post: 07-18-2005, 01:20 AM
  4. gcc
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 10-22-2003, 04:46 PM
  5. Formatting Output
    By Aakash Datt in forum C++ Programming
    Replies: 2
    Last Post: 05-16-2003, 09:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21