upgrade problem

Andres Gonzalez andres@agoralabs.com
Mon Feb 9 20:47:00 GMT 2004


Yes, that is correct, this issue has to
do with our C++ code,
so thanks for the clarification.

-Andres


-----Original Message-----
From: lrtaylor@micron.com
[mailto:lrtaylor@micron.com]
Sent: Monday, February 09, 2004 3:43 PM
To: andres@agoralabs.com;
gcc-help@gcc.gnu.org
Subject: RE: upgrade problem


I suppose I should qualify my statement
a little: _C++_ code is not
compatible between older versions of GCC
and newer ones.  C code should
still work fine.  However, it looks like
you're working with C++ code,
so it still applies...

Cheers,
Lyle

-----Original Message-----
From: Andres Gonzalez
[mailto:andres@agoralabs.com]
Sent: Monday, February 09, 2004 1:46 PM
To: lrtaylor; gcc-help@gcc.gnu.org
Subject: RE: upgrade problem

Lyle,

Thanks for the reply. I was not aware of
the incompatibility between
binaries produced with versions of gcc
prior to 3.2 and newer versions.
Knowing this makes it easier to deal
with going forward.

Thanks again,

-Andres



-----Original Message-----
From: lrtaylor@micron.com
[mailto:lrtaylor@micron.com]
Sent: Monday, February 09, 2004 2:45 PM
To: andres@agoralabs.com;
gcc-help@gcc.gnu.org
Subject: RE: upgrade problem


Andres,

RedHat didn't screw up the install.
Rather, the -V option is deprecated
and is not supported in recent versions
of GCC.  If you are trying to
link code built with the new compiler
with libraries built with the old
compiler, you're not going to have any
luck.  Newer versions of GCC are
not compatible with binaries produced
with versions of GCC prior to GCC
3.2.

Cheers,
Lyle

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org
[mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Andres Gonzalez
Sent: Wednesday, February 04, 2004 10:49
AM
To: gcc-help@gcc.gnu.org
Subject: upgrade problem

Hi,

I recently upgraded my workstation from
Red Hat 7.2 to Red Hat 9.
I am now having a problem with code that
compiled just fine under
gcc 2.96 but now does not compile under
gcc 3.2.2.

I have tried the -V option but
apparently the upgrade of Red Hat 9
screwed up the former system so that
using the "-V 2.96" option
complains that it cannot find the
cc1plus file.

The code compiles fine but I get tons of
link errors that are all
about "new" and "delete" operators. They
are all in the form of:

.....undefined reference to 'operator
delete[](void*)'
.....undefined reference to 'operator
new(unsigned)'

Do I have to specifically link with a
special library just to get
this code to link properly?

Thanks for any help you can provide. I
have looked through the
man pages and the online documentation
but came up clueless.

-Andres


----------------------
Andres C. Gonzalez III
Agora Labs, Inc.
(732) 212-8500
gonzo@agoralabs.com








More information about the Gcc-help mailing list