C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 07-18-2003, 07:17 AM   #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
rotis23 is offline   Reply With Quote
Old 07-19-2003, 12:21 AM   #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
Lynux-Penguin is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Profiler Valgrind afflictedd2 C++ Programming 4 07-18-2008 09:38 AM
How does compiler/linker such as GCC decide to start locating the appropriate library shong9 C Programming 4 09-02-2007 08:47 PM
advanced math library for linux? Cobras2 Linux Programming 5 07-18-2005 12:20 AM
gcc DavidP A Brief History of Cprogramming.com 21 10-22-2003 03:46 PM
Formatting Output Aakash Datt C++ Programming 2 05-16-2003 08:20 PM


All times are GMT -6. The time now is 12:42 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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