I would say that your advice is a little extreme. While I agree that it is, ususally a pain in the neck, I did use gcc-3.2 (and its library alongside with the distribution's compiler (gcc-2.95, in may case). Of course the compiler and libraries have to be installed somewhere else. And everytime one uses them one has to make sure that gcc-3.2 is in the path (first in the path, to be on the safe side) and to prefix the make command with the incantation "LD_LIBRARRY_PATH=/usr/local/gcc-3.2.2/lib/" (that's where it was located, in my case). Good luck and cheers, Avraham
On Tue, 23 Mar 2004, Mark Veltzer wrote: > Date: Tue, 23 Mar 2004 18:13:04 +0200 > From: Mark Veltzer <[EMAIL PROTECTED]> > To: Alexander V. Karelin <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: Re: gcc (g++ v3.2.2) trouble > > On Tuesday 23 March 2004 18:06, you wrote: > > Dear List! > > > > I've encountered a rather unpleasant problem. In a nutshell it is like > > this: > > > > when linking code compiled with g++ 3.2.2 with a library that has been > > compiled with gcc 2.x.x, the linker fails finding references. > > > > Now... The problem is that the library in question, if compiled from > > scratch (it's the libodbc++) with g++ 3.2.2 fails compilation. I've tried > > looking for some sort of explanation for this phenomena but with no luck so > > far. Any help would be appreciated! Thank You! > > GCC 3.X is not binary compatible with GCC 2.X. Actually I wouldn't even try > counting on binary compatibiliy between versions of 3.X (3.1 and 3.2 for > instance...). > > Make sure that all libraries, especially C++, are compiled using the EXACT > same compiler. > > If the reason that you are using libs compiled using an old compiler is > because you are in some kind of old distribution then use the compiler > provided by the distribution or make an outright descision not use any of the > libs provided by the distribution. It's your choice. > > Cheers, > Mark > > > > > > > ================================================================= > > To unsubscribe, send mail to [EMAIL PROTECTED] with > > the word "unsubscribe" in the message body, e.g., run the command > > echo unsubscribe | mail [EMAIL PROTECTED] > > -- > Name: Mark Veltzer > Title: Research and Development, Meta Ltd. > Address: Habikaa 17/3, Kiriat-Sharet, city.holon, Gush-Dan, country.israel > 58495 > Phone: +972-03-5581310 > Fax: +972-03-5581310 > Email: mailto:[EMAIL PROTECTED] > Homepage: http://www.veltzer.org > OpenSource: CPAN, user: VELTZER, mailto:[EMAIL PROTECTED], url: > http://search.cpan.org/author/VELTZER/ > Public key: http://www.veltzer.org/ascx/public_key.asc, wwwkeys.pgp.net, > 0xC71E5D38 > > > ================================================================To unsubscribe, send > mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]