public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Convergence of GCC - slightly off topic
@ 2002-10-02 13:09 yabada badoo
  2002-10-02 19:30 ` kwall
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: yabada badoo @ 2002-10-02 13:09 UTC (permalink / raw)
  To: gcc

Hi all

Not wanting to start any flames, but I was
wondering what is the experts take on the
likelyhood of convergence of the various
versions of gcc in the varous linux distributions,
now that 3.2 is getting consistent positive appraise.

The reason for this question is that I do not
consider myself an expert in neither c nor c++,
but I am quite comfortable with both in most
high level situations.

I was hoping to get feedback from seasoned (battered
battle faces :-) c and c++ folks that are more seasoned in dealing with 
sitiations that might expose some of the more thornier aspects of 3.2 with 
respect to the other (older) gcc versions shipped with various linux 
distros.

I am not looking for comments on the ABI changes,
but rather on situations where you know that the older versions give better 
support than 3.2 in terms of language, runtime support and libriaries etc.

Information like this is handy for anyone researching
development and deployment platform strategies.

As I have the luxury of starting with a clean slate
I wanted to tip my toe into this gcc water and see if
any muddy skeletons would be stirred up, or whether
all corpses [have been/can be] given proper burial with
3.2

Would your comments be any different if one was
maintaining some legacy c/c++ project?

What about gcc on other OS that linux?

Thanks for all your valuable help.
Rgds,
Frid

p.s.
#1
I am using hotmail account for practical/personal reasons, I hope you do not 
read anything into it
or feel offended in any way.

#2
(I know that gcc selection for the various distros
is not in the power of anyone but the respective
distros - I am looking for the gcc experts opinions,
not for distro religions. )


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Convergence of GCC - slightly off topic
@ 2002-10-02 14:50 Robert Dewar
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Dewar @ 2002-10-02 14:50 UTC (permalink / raw)
  To: gcc, yabadabadoo123

<<Not wanting to start any flames, but I was
wondering what is the experts take on the
likelyhood of convergence of the various
versions of gcc in the varous linux distributions,
now that 3.2 is getting consistent positive appraise.
>>

Sounds like you shoudl ask the various GNU/Linux (note terminology please)
vendors this question, since it has to do with their commercial requirements
and perspectives.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Convergence of GCC - slightly off topic
@ 2002-10-03 12:18 Joe Buck
  2002-10-03 14:38 ` Matt Austern
  0 siblings, 1 reply; 9+ messages in thread
From: Joe Buck @ 2002-10-03 12:18 UTC (permalink / raw)
  To: yabadabadoo123, gcc

yabadabadoo123@hotmail.com (yabada badoo) writes:

> Not wanting to start any flames, but I was
> wondering what is the experts take on the
> likelyhood of convergence of the various
> versions of gcc in the varous linux distributions,
> now that 3.2 is getting consistent positive appraise.

I expect that almost all of the GNU/Linux distributions will shortly
(for various definitions of "shortly") be going to a 3.2-compatible
compiler.  I say "compatible" because I expect that each distributor
will probably apply one or more patches to address local problems; in
many cases, those patches are obtained direct from GCC's CVS tree,
or are sitting in gcc-patches waiting for approval, so any forks are
only a temporary matter.

> I was hoping to get feedback from seasoned (battered
> battle faces :-) c and c++ folks that are more seasoned in dealing with 
> sitiations that might expose some of the more thornier aspects of 3.2 with 
> respect to the other (older) gcc versions shipped with various linux 
> distros.

The chief gotcha is that if you have code that has never been compiled by
any compiler other than g++ 2.x or egcs, it probably makes assumptions
that aren't valid C++, such as that the standard classes are in the global
namespace rather than the std:: namespace, or uses interfaces in libstdc++
that diverged from the standard and have since been removed.  This means
that you may need to fix your code.  If you have code that already
compiles with more than one C++ compiler you'll have far less trouble.

Because of the more complete standard C++ headers and because performance
tuning isn't complete, 3.2.x (the compiler itself) runs more slowly than
2.95.  The effect is most noticeable for small programs that include
standard headers like <iostream>: you may have just written "Hello, world"
but the compiler has to process tens of thousands of lines of headers.

3.2.1 has a number of bugfixes, many that were found by the people at the
various distros as they tried to build complete distributions with 3.2.
It is planned for Oct 15 release, but that's only a target; don't be
surprised if it is a few days off from that.

> What about gcc on other OS that linux?

There have been more problems on OSes whose object file formats don't
support weak symbols, such as AIX.  The situation there is improving
compared to early 3.x releases.  3.2.1 has a number of powerpc-specific
bugfixes.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-10-04 15:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-02 13:09 Convergence of GCC - slightly off topic yabada badoo
2002-10-02 19:30 ` kwall
2002-10-02 19:44 ` Phil Edwards
2002-10-02 20:00 ` Hans-Peter Nilsson
2002-10-03 16:34 ` Joe Buck
2002-10-04  8:46   ` David O'Brien
2002-10-02 14:50 Robert Dewar
2002-10-03 12:18 Joe Buck
2002-10-03 14:38 ` Matt Austern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).