Ross Boylan <[EMAIL PROTECTED]> writes:

> If I use g++-3.0, do I need to build most of my own libraries?
> For example, I wanted to use libstrutilsxx, but it didn't work.  I
> think I read (though I can't find it) that object files from different
> versions of the compiler can't be mixed.  True?

Yes.  See this answer to a similar question I asked:

http://lists.debian.org/debian-gcc/2001/debian-gcc-200111/msg00004.html

> Since 2.95 is the default (i386 woody), all the debs are built with
> that, so they won't work with 3.0, right?

Yes.

> I tried getting the source and compiling for the library, but it
> didn't work.  This was puzzling; perhaps it uses some language feature
> that changed?  The problem seemed to be with streams; I haven't had
> time to track it down.

gcc-3.0 is far more standards compliant, and consequently breaks a lot
of old broken code.  I don't know if that's true for the libs you're
using though.

Personally, I was able to build qt-3 from trolltech's tarball with
gcc-3.0 without problems.

> Anyway, if all this is true, maybe I should go back to 2.95.  I
> understand it doesn't implement the standard fully, and I was hoping
> to avoid getting into that swamp.

If you write good, standards compliant code, it shouldn't be a problem.

-- 
Brian Nelson <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
http://bignachos.com

Reply via email to